iVend Retail POS - Drill-Down Report
This article explains the basic steps for creating a drill-down report.
A Drill-Down report is an interactive report in which blocks can collapse and expand their contents by clicking on the block title. Follow the steps below to create a report with dynamic folding in the preview window:
1. Design a report or load and existing one. For example, take a group report, which was reviewed in the separate article called, "Report with Grouping". The picture below shows a report template with groups:
1. Click the [Preview] button or invoke the Viewer by pressing F5 or clicking the Preview menu item. After rendering a report all references to data fields will be changed in the data from the specified fields.
1. Go back to the report template.
1. Select the GroupHeaderBand.
1. Set the Interaction.Collapsing Enabled property to True.
1. Change the value of the Interaction.Collapsed property. In our case, set the Interaction.Collapsed property to {GroupLine! = 1}. So, when rendering a report all the groups except the first one will be collapsed.
1. Click the [Preview] button or invoke the Viewer by pressing F5 or clicking the Preview menu item. After rendering the report all references to data fields will be changed in the data from the specified fields.
Drill - Down Report
To expand or collapse a group you can click on the GroupHeaderBand in the rendered report. If it is necessary for the group to be collapsed together with the group summary, then the Interaction.CollapseGroupFooter property should be set to True. The picture below shows the report page rendered with the collapsed report:
Drill - Down (Footer Collapsed) Report