ActiveReports Developer 7
Add Items to the Document Map
Support Forum
ActiveReports Developer 7 > ActiveReports Developer Guide > How To > Page Report How To > Add Items to the Document Map

Glossary Item Box

In a page report, use the following steps to add report controls, groups and detail groups to the document map.

To add a control to the Document Map

  1. On the design surface, select a control you want to add to the Document map and right-click to choose Properties from the context menu.
  2. In the command section of the Properties Window, click Property dialog. This is a command to open the control's dialog. See Properties Window for more information on how to access commands.
  3. In the dialog that appears, go to the Navigation page and under the Document map label, enter a text or an expression representing the control in the Document map.

Alternatively,

  1. On the design surface, select the report control you want to add to the Document map and right-click to choose Properties from the context menu.
  2. In the Properties window that appears, enter a text or an expression in the Label property to represent the report control in the Document map.

Go to the preview tab or the Viewer to view the document map.


To add a group or a detail group to the Document Map

  1. Open a report that contains a group. See Grouping in a Data Region for further information.
  2. On the design surface, select the data region on which grouping or detail grouping has been set and go to the command section which appears below the Properties Window.
  3. Click Property dialog to open the data region dialog. See Properties Window for more information on how to access commands.
  4. In the dialog that appears, go to the Grouping or Detail Grouping page, and under the Document map label, enter a text or an expression representing the group or detail group in the Document Map.

Go to the preview tab or the Viewer to view the document map.


To create a hierarchical Document Map

  1. Open a report that contains a data region like a Table.
  2. With the data region selected, right-click to open the context menu and select Properties.
  3. In the Properties Window that appears, select the Property dialog command at the bottom of the window to open the data region dialog. See Properties Window for further information on how to access commands.
  4. On the data region dialog, on the Groups page, set the grouping expression. For example, group the data on StorePrice (=Fields!StorePrice.Value). See Grouping in a Data Region for further information.
  5. On the same Groups page, set the Document map label to the value of the grouping expression. For example, =Fields!StorePrice.Value.
  6. On the design surface, select a control inside the data region. For example, the TextBox in the detail row of the Table data region.
  7. Right-click the control and select properties to open the Properties Window. In the command section of the Properties Window, click Property dialog.
  8. In the dialog that appears, go to the Navigation page and under the Document map label, enter a text or an expression representing the control in the Document map.

Go to the preview tab or the Viewer to view the document map.


Note: In an FPL report, you can also set grouping and set the document map label on the FixedPage dialog > Groups page. See Grouping in a FixedPage to learn how to set groups on a fixed page.
©2014. ComponentOne, a division of GrapeCity. All rights reserved.