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.

  1. Create a report with grouping.
  2. To add a Report Header band to the report, right-click anywhere over the report's surface, click Insert Band > ReportHeader.
  3. 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 cross-reference
  4. Add a Group Footer band to the report.
    To do this, right-click anywhere over the report's surface, and click Insert Band > GroupFooter.
  5. 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).
  6. 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.
    Add cross-reference
  7. The cross-reference is now ready. Switch to the Preview tab to view the result.