Add bookmarks

Follow steps in this procedure to create a report with bookmarks.

This procedure describes the steps to create a report with bookmarks (or a so-called Document Map). This feature allows you to easily navigate through the report during its print preview.

  1. Create a new report.
  2. Add a Group Header band to the report.
    To do this, right-click anywhere over the report's surface, and click Insert Band > GroupHeader.
  3. From the Field List, drag data-fields onto the new GroupHeader1 band.
    Add bookmarks
  4. Click the Smart tag of the GroupHeader1 band, and in the actions list, click the browse button (...) in the Group Fields property.
    1. In the GroupField Collection Editor dialog box, click Add to add a new grouping field, and set its FieldName property to the required field.
    2. Click OK to apply the settings and close the dialog.
  5. To add a Report Header band to the report, right-click anywhere on its surface, and click Insert Band > ReportHeader.
  6. Drag a Label from the Toolbox panel onto the new Report Header band, and set its text to Products by Categories.
  7. Drop a field representing the general report's data onto the new Detail band.
    Add bookmark
  8. Click the label in the Report Header band, to select it, and in the Property Grid, set its Bookmark property to the same value as its text (that is, Products by Categories).
    Add bookmarks
  9. Select the label in the report's Group Header band. As this control is bound to data, we will bind its Bookmark property to the same data field, using the (Data Bindings) property.

    Add bookmark

  10. For this field, set the Parent Bookmark property to the Report Header's label to define the document map hierarchy.
    Add bookmarks
  11. The report with bookmarks is now ready. Switch to the Preview tab, and view the result.