Tour of the advanced report designer
The advanced report designer lays out the printed document. It is a standard design tool. alameen ERP 10 opens it on a ready data source for the document type, after adding buttons to it and removing commands from it. This page walks through the parts of the window and points to the page for each part. It is for implementers and support staff who build templates.
Opening the designer
The designer opens from the advanced print window and from the print settings for points of sale and restaurants. It does not open from the Advanced Reports Management window. The conditions and every way to open it are in Opening the designer. The steps as a short task are in Design an advanced report.
The designer window
- The designer opens maximized. Its layout is always left to right, even when the program language is Arabic.
- Its title is "Advanced Report Designer - report name". It has no Ok or Cancel button at the bottom.
- It shows a picture until it is ready, and then opens the report. If the report cannot be created, a message with the error text appears and the window closes.
- A new report is named after the document type, a space and
1. It is connected to theCurrentDbdata source, and its default font isAlameenSans-Plainat size 9.75. - The preview and the print rely on the saved document you opened the designer from. When you open it from the print settings of points of sale or restaurants, there is no document, so the preview shows no document data. The data source is explained in Field list and data binding.
The ribbon
What the program adds
The program adds three buttons: New... first in the Report group, Export in the same group, and Change Data Source in the Data group. Change Data Source appears only when the document type has more than one data source (for points of sale it always appears). The table of buttons and when each is disabled is in Ribbon.
Tabs and groups
The rest of the ribbon is from the standard tool. Its tabs include Home, Page, View and Preview. Its groups include Report, Data, Clipboard, Font, Alignment, Borders, Styles, Arrangement, Snapping, Page Setup, Bands and Show. The tool changes the ribbon to suit the selected element, and tool tabs appear:
| Tab | Appears when you select | Details |
|---|---|---|
| Text Tools | A text element | Report controls |
| Table Tools | A table | Tables in a report |
| Chart Tools | A chart | Barcodes, charts and cross tabs |
| Pivot Grid Tools | A pivot grid | Barcodes, charts and cross tabs |
| Barcode Tools | A barcode | Barcodes, charts and cross tabs |
| Shape Tools | A shape | Report controls |
| Gauge Tools | A gauge | Report controls |
| Sparkline Tools | A sparkline | Report controls |
| Character Comb Tools | A character comb | Report controls |
You also find the Add Calculated Field command among the ribbon commands. It is explained in Calculated fields.
The panels
The designer shows the panels of the standard tool. A short summary is in Panels. Here are the details:
| Panel | What it shows and what you do with it |
|---|---|
| Field List | The fields of the CurrentDb data source. It has a search bar that is always shown and filters the fields together with their parents. You drag a field from it onto the design surface to create a control bound to it. See Field list and data binding. |
| Report Explorer | A tree of the report elements: the bands and the controls in them. It has nodes for managing Styles and Formatting Rules, and a Components node for non-visual elements such as the data source. |
| Properties | The properties of the selected element, with a list at the top to select another element. It has the Expressions tab and the Favorites tab. The expressions of an element are in the Expressions tab. You add your favorite properties to the Favorites tab (see Report gallery and favourite properties). |
| Group And Sort | The grouping and sorting levels of the report. See Group and sort. |
| Report Gallery | Parts of reports that you save to use again. See Report gallery and favourite properties. |
| Toolbox | The report controls that you add to the design surface. See Report controls. |
The program does not hide any of these panels. The properties it hides from the Properties panel are listed in Ribbon.
The design surface
This is the page on which you arrange the elements.
- The report is divided into bands, and each band has a caption that shows at design time. Click the caption to select the band. The bands are explained in Report bands.
- To change the height of a band, drag its handle on the vertical ruler.
- Right-click the report, a band or a control to see a menu of commands that suit your selection. The program removes some commands from these menus; see What the program removes.
- Double-click a text or a table to edit its content in place.
Smart tags
For some elements the designer shows a small window with their main settings, called a smart tag. The program defines the content of two of them:
| Smart tag | What it holds |
|---|---|
| The report itself | The links Edit and Reorder Bands... and Edit Bindings..., then the boxes Data Member, Detail Count at Design Time, Measure Units, Formatting Rules and Watermark. Only the items that apply to the selected element appear. |
| A subreport | The Template box only. See Report controls. |
The Preview tab
The Preview tab shows the report with the data of the saved document. It offers the preview commands as ribbon buttons; the preview window, which has its own toolbar and its own removed commands, offers the same kind of commands on a toolbar. The program removes the file group and the parameters and editing fields commands from the Preview tab. The commands of the preview window are in Viewer and Preview window reference.
The designer and its Preview tab show the report left to right, without applying the Right-to-Left Layout option that you choose when you save. The viewer, the print and the thumbnail apply it. The report's right-to-left property is not kept when you save; use the Right-to-Left Layout option. See Save window.
What the program removes
The program removed from the designer what concerns the data source and the parameters, because the program decides the source of each document type and fills its parameters:
- From the ribbon: the Localization group, the command to add a data source to the report and the command to add a parameter.
- From right-click menus: adding a data source and a parameter, configuring the connection, managing queries and relations, and rebuilding the schema.
- From the Properties panel: properties such as the right-to-left layout (the report's right-to-left property stays visible, but saving resets it), the data source, the filter string and the parameters.
- From a subreport: opening it in a second designer, and the properties of its report source and parameter bindings.
The full list is in Ribbon. For the alameen way to do each removed command, see What alameen does not allow in the designer.
Designer files
The designer saves the Report Gallery and the favorite properties in two files in a folder named Report Designer in the program data folder. The templates themselves are saved in the database; see Saving.
Related
This page applies to alameen ERP 10, version 10.1.79.764.