Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embedding anchor tag in each group header for html exporting

Status
Not open for further replies.

YA

Programmer
Aug 13, 2001
37
US
Hello,

I am working on a report that displays a list of classes by location using Crystal Report 9. In the GH#1 (class location), I would like to put a piece of code to dynamically generate destination anchors like:

'<a name = "' + {table.loc_name} + '"></a>'

For example: <a name = "CA"></a>

After exporting this report to HTML format, other HTML pages with source anchors can reference to this report and find an appropriate destination anchor to display the list of classes based on the location.

I tried using a formula or hyperlink function to create destination anchors automatically for each group header but I was not able to make it work because either (1) the <a> tag became unreadable after exporting the report to HTML format or (2) hyperlink funciton did not seem to like the <a> tag.

Has anyone done this before? Any input will be greatly appreciated!

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top