In the Designer, the various interaction options are configured, which the user can then use later in the preview. These elements enable the user to easily and effectively extract a great deal of information from such a dynamic report without further configuration effort.
Drilldown reporting refers to the navigation through different levels of detail in hierarchical data. It allows you to “zoom in” on the data and view it at different levels of detail. For this purpose, various print templates are linked together in List & Label.
Initially, only an upper level is output to the preview, for example, a list of customers (“master report”). By clicking on any customer, a new report (e.g. orders) is opened (“detail report”). This report contains details of the record that was clicked on before. In this way, you can click your way through the report one by one until, for example, you reach the individual items of an order. Even with large and complex data sets, you can quickly find the information you need.
This step-by-step deepening of the data enables you to find your way around complex and large databases quickly. Drilldown works in List & Label at any depth and can be used for table rows or fields as well as for charts in combination with report parameters (see below for details).
To be able to design drilldown reports, it is usually necessary that relations are included in the data source. If you use the .NET or VCL components, hierarchical structures in your data are automatically recognized and passed to List & Label. 1:n and 1:1 relations are thus available in design and print and can be used for drilldown reports. With other programming languages, you transfer the database tables using special commands, including existing relations and sorting.
Tip: If no relations are available in the data source, report parameters can also be used to create a drilldown report. More about this can be found further down in the section “Report parameters”.
Basically, an expandable region is the “little brother” of a drilldown report. Simply activate the function in the List & Label Designer using the “Expandable Region” property of a table. The only requirement is a master-detail layout.
An example would be the listing of all order details (detail table) of an order (master table). The order details are derived from the orders with the help of a relation. In the preview, you initially only see the list of purchase orders for a customer. A small arrow is displayed next to each row, indicating that further information can be found “below”. A click on the arrow opens the details for the line. This gives you a drill-down option without leaving the current preview and without having to design a separate project for it.
Tip: If no master-detail layout is available, expandable regions can also be used within a single table. A prerequisite for this is then that groupings are used. The property can be activated for each group header. For more details, see the article “Extending “Expandable Regions to Groups”.
Parameters can be used to conveniently filter the database directly in the preview. For example, a date range can be selected or only certain invoice numbers can be printed. The user can then decide which data is currently filtered in the report without having to create a new layout or, even worse, reprocess the data source in the application. The parameters are displayed separately in the preview and can also be used as variables, for example in filters. If a report with parameters is printed or exported directly, the parameters are queried via a dialog box before output.
Report parameters can also be used to create a drilldown report that is not based on a relational data structure. To do this, the drilldown report can be defined using Drilldown via Report Parameters. The value of the report parameter is then passed on to the drilldown report, where it can be used as a data filter for a table or a chart, for example.
Tip: In the Standard Edition of List & Label the maximum number of possible report parameters is limited to 1.
With the ability to directly change sort orders for a table, users can easily and conveniently arrange the data in the preview. This makes it possible, for example, to sort a table of customers in ascending or descending order by different fields without having to adjust the sort order in the print template. The corresponding arrows in the table header indicate to the user that this column can be sorted.
This flexible layout covers several use cases at the same time. The benefit: There is no need to create several templates just because the data is to be displayed in a different sequence/sorting.
The user is also able to enter or add data directly in the preview. The List & Label Designer provides form controls for this purpose. There are different types, which differ in their use and functionality:
Edit: This is a classic, single or multiple line input field for entering characters or texts.
Checkbox: Can have two states. The user can choose whether something is selected or not.
Combo box: The user selects an entry from a given list or optionally adds an entry himself, if it is not available in the given list.
Button: This button can be used for different tasks, for example, triggering the sending of an email, saving the preview file, triggering an http-post or starting a simple link like an internet address. For PDF export, this button can also be set to create a signature field to start the signature process in the PDF application.
Tip: One advantage of the form controls is that they are largely retained after the PDF export and can be used in the PDF document by the user.
Animations and Presentation
Through animated objects, the preview assumes the task of a presentation program, similar to Microsoft PowerPoint. Animations such as wipe, stretch, fade, pop up and many more are available and can be used for text objects, diagrams or images.
The trigger for the animation is freely selectable. You decide whether the animation starts directly when the preview page is shown or dependent on other objects or
is only triggered by a mouse click. In addition, the delay and duration of the selected animation can also be determined. If the report is exported to XHTML, you can also set specific animations for individual objects, which are then played back in the browser when the report is displayed.
Tip: In addition to the preview, List & Label also supports the possibility to show a report directly in full screen mode. This allows you to replace PowerPoint presentations in order to present reports, for example in meetings. You can define various transformations for page changes to bring life to the presentation of a report.
Find and Copy Texts
With the help of the find function you can find important information in the preview. The results are highlighted directly in the preview. You can also do case sensitive searching.
Once you have found the required search hit, it is easy to select text in order to copy it directly from the preview and thus transfer the information to other applications.
Numerous objects in the List & Label Designer have a “Link” property. A URL can be stored here that is called up when the object is clicked. This allows the use of standard Windows protocols such as http/https, file, mailto etc. But of course, you can also use your own protocols, which are then processed by the application. They support, for example, the direct jump to the detailed data record in the CRM system that belongs to the respective data row.
Tip: Links with standard protocols are also retained in the PDF export and can usually be called up there if the viewer and local security settings allow this.
There are thus a number of possibilities to make the preview of a List & Label report very dynamic, flexible and interactive. This usually leaves nothing to be desired in order to present the user with a report experience. More detailed information on the individual sections and topics can of course be found in the Designer manual.
Developer’s Tip: Drilldown, expandable regions, report parameters and interactive sorting in reports can also be used in the HTML5 Viewer for your own .NET Web applications and thus work in any browser. And since the combit Report Server also uses the HTML5 Viewer as a web control, these elements also work there. You can find a short overview under Web & Cloud Reporting with List & Label.
Daniel trained with combit as a programmer specialized in software development. He is now engaged in software development and fosters business cooperations. He conducts software trainings and supports the sales team as technical advisor. In his spare time he enjoys mountainbiking around Lake Constance and in the Swiss Alps closeby.