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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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