BookmarkSubscribeRSS Feed
jpoole412
Calcite | Level 5
The actual data inside a dataset I'm using in a report contains control code to insert line breaks at certain places. Using EG I can print out the data and the line breaks are preserved (also using EG to export other formats preserves the breaks). However, when I insert the data in the web report, the line breaks are ignored and the data is displayed as one continuous line. Is there any ways to keep these line breaks in the data?

Thanks,

Jeff
3 REPLIES 3
Madelyn_SAS
SAS Super FREQ
Web Report Studio does not honor line breaks inserted by using control code. There is one workaround if you have 4.2 or later, but you would need to manipulate the data.

Specifically, if you replace your control code with </br>, and then turn on the "Display as hyperlink" feature for the data item in Information Map Studio, then WRS will honor the break.

Message was edited by: BIC_USER_3@SAS Message was edited by: BIC_USER_3@SAS
jpoole412
Calcite | Level 5
Thank you very much for the quick help! Seems to of solved my problem.
jpoole412
Calcite | Level 5
This does however lead to a follow-up question...

Using
works great and honors the line breaks in the report but the amount of data in an individual cell can be up to about 8,500 characters long. This makes the display of the data very odd when viewing a report (the column width for this variable is extremely large and is unable to be exported to a pdf). Is there any possible way to control this?

Thanks

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1520 views
  • 0 likes
  • 2 in conversation