BookmarkSubscribeRSS Feed
cmp_atp_dk
Calcite | Level 5

Is it possible to jump to a specific row in a PROC REPORT HTML-output when it opens?

 

Example: I want to jump to 'Chervolet' in this report:

 

ods html file ='c:\temp\test.html';

proc report nofs data=sashelp.cars;

columns make model type origin;

run;

ods html close;

 

 

2 REPLIES 2
HB
Barite | Level 11 HB
Barite | Level 11

In HTML, that "jump" is made with an anchor. So if you gave the page the name of  'c:\temp\test.html#chevrolet' and then were able to use ODS to add an anchor statement  

 

ods html text="<a name='chevrolet'>";

to right before that proc report, that might work.

 

Dunno.  Untested.  Haven't tried it.

cmp_atp_dk
Calcite | Level 5
thx,
I’ll try it.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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