|Database Tour Documentation|
Working with Report Template
The report template occupies the main part of the Report Builder. It consists of the report objects, which have their own properties to control their displaying behaviour.
Adding an object
To add an object, just select the one from Object Palette and click template in the place, where you would like to place it. If you don't see the Object Palette, choose Options | Toolbars | Object Palette menu.
To select an object, just click it in template or select it in Report Tree window. To select multiple objects, click each object holding Shift down or use rubberband technique holding Ctrl down, as it is shown on the image below. To edit properties of selected object(s), use Object Inspector window or tool bar buttons. When you select many objects, you may edit their common properties as long as move, copy, cut, or remove them.
To delete an object, you should select it and click Delete Object button or press Delete. Note, that when you select many objects, you may remove or cut only those objects, which selected within one container.
Editing objects' properties
You can edit the properties of the selected object(s) in Object Inspector window. Also, some properties can be edited directly in template by using mouse, for example:
1. Working with columns is allowed until any separate object resized or moved, so it is recommended that you ended work with columns before working with separate objects;
2. Objects of the Page Header, Report Title and Page Footer bands cannot be used in columns.
There are several functions for aligning of selected objects by edge, height, or width of one of them. These functions are located under context menu of the objects or in Objects Alignment toolbar.
Last action in the Report Builder can be undone using the corresponding button or menu item from Edit menu. But there are some exceptions, for example, you cannot undo last action after saving report template, after clearing the template, after rebuilding the template by other report scheme and in some other cases.
If you often build a report for the same data set it is recommended to save the report template to a file. Just load it next time to avoid repeating actions with the report.
You can save the report template to binary or text form (using the correspoding property of the Report object). Template file in text form can be edited directly, but it is not recommended to do so. Use text form of template files when exchanging the templates between different Database Tour Pro or Reportizer versions.
For convenience of using the queries with master source or simply the queries with similar structure there is a feature named Use Previous Report Template. Open the query, then open report builder and load the report template from file and press the corresponding button right over the query data grid to set this feature. Every time, when you will sequentially open a query, the template will be automatically loaded from the file.
are some demo files in Database Tour Pro: several demo databases in dBase (.dbf)
format and a set of report templates, which use these databases (all are located
in Examples folder). They can help to learn more about report features. Just follow