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
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