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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 934 views
  • 0 likes
  • 2 in conversation