Add a cross-reference
Perform this procedure to create a report with a cross-reference.
A cross-reference is a link whose target is located within the current document. This allows you to establish easy navigation through a report. In this example, we create a grouped report with a link at the bottom of each group, leading to the beginning of the report.
-
Create a report with grouping.
For more information, see Change or apply data grouping to a report.
- To add a Report Header band to the report, right-click anywhere over the report's surface, click .
-
Drag a label onto the new ReportHeader band to
serve as the report's headline. Click the label, to type the desired contents
into it. Then, in the Property Grid, set its Name property
to reportTop.
-
Add a Group Footer
band to the report.
To do this, right-click anywhere over the report's surface, and click.
-
Again, drag a label onto the band.
As the band will be the link, change its text to Top of Report, and apply the common formatting to it (blue color and underlined text).
-
Finally, set the band's Navigation
Target property to _self.
Now, if you click the drop-down list of the Navigation URL property, you can see the controls available in your report. Choose the one named reportTop.
- The cross-reference is now ready. Switch to the Preview tab to view the result.