Report controls
Report controls are what you place inside the bands: texts, pictures, tables, lines and more. alameen ERP 10 removes no control from the toolbox, and restricts only the subreport, as described in Subreport. This page is for implementers and support staff who build templates.
Adding a control
Choose the control in the toolbox, and then do one of these:
- Double-click the control to add it to the selected band.
- Drag it to the band you want.
- Or select it in the toolbox and draw a rectangle in the band.
After you add it, select the control to edit its properties in the Properties panel, and to show its tool tab on the ribbon if it has one. To add a control bound to a field, drag the field from the Field List to the band. To bind a control that you already placed, write the field in its expression. Both are in Field list and data binding. For general commands such as alignment, borders and font, see Tour of the advanced report designer.
Not every control can go in every band. The designer prevents what is not valid.
The controls
The toolbox offers controls such as the following.
Label
Shows fixed text, the value of a field, or the result of an expression. Its main properties are Text, Expression, Format String, Word Wrap, Can Grow, Can Shrink, Auto Width and Multiline. The control increases its height to fit its text if you turn on Can Grow, and decreases it if you turn on Can Shrink. The Text Tools tab appears when you select it.
Check box
Shows a yes or no value, or three states (checked, unchecked and indeterminate), with a caption beside it if you like. Its property is Check State.
Rich text
Shows text with different fonts and colors inside one control. It can load its content from a text file or an RTF file.
Picture
Shows a picture from a file, from a data field or from a link. Its main properties are Image, Image Url, Sizing and Image Alignment. An example of its use: Add a logo and company header.
Panel
A container that groups several controls so that you move or copy them together. It has borders and a background.
Table
Rows of cells. Each cell works like a text control and can hold other controls. See Tables in a report.
Character comb
Shows the text one character in each cell, as in printed forms. You set the cell width, the cell height and the spacing between cells from the Character Comb Tools tab.
Line
Draws a straight line. Its properties are Line Direction, Line Style and Line Width. A line does not cross from one band to another, so use the cross-band line for that.
Shape
Draws a rectangle, an ellipse, an arrow or another shape. Its properties are Shape, Fill Color, Line Width and Stretch. The Shape Tools tab appears when you select it.
Barcode
Turns a text or the value of a field into a barcode. Its main properties are Symbology (the barcode type), Module, Auto-Module and Show Text. The Barcode Tools tab appears when you select it. The types and how to set them are in Barcodes, charts and cross tabs and in the task Print a QR code or barcode.
Zip code
Shows a numeric postal code. It is not the US ZIP code.
Chart
Shows its data as columns, lines, pies or other forms, in two or three dimensions. The Chart Tools tab appears when you select it. See Barcodes, charts and cross tabs and the task Add a chart.
Gauge
Shows a value on a scale, such as a completion rate. Its properties are Minimum, Maximum, Target Value, Actual Value, View Style and View Theme. The Gauge Tools tab appears when you select it.
Sparkline
A small chart that sits inside a line and shows the trend of a series of values. The Sparkline Tools tab appears when you select it.
Cross tab
Summarizes values in rows from one field and columns from another. The cross tab places its fields in the Rows, Columns and Data areas. When you select a pivot grid, the Pivot Grid Tools tab appears. See Barcodes, charts and cross tabs.
Page info
Shows the page number, the number of pages, the date and time, or the user name, in the format you choose. Its properties include Page Information and Start Page Number. An example is in the task Add page numbers, print date and user name.
Page break
Ends the page at its position and starts a new page.
Cross-band line and box
A line or a box that passes through several bands.
Table of contents
Builds a list of section titles from the bookmarks in the report.
Subreport
Shows another template inside this template, which is the way to reuse a ready design.
What alameen allows:
- Select the subreport and open its smart tag.
- Click the browse button in the Template box. The Select Template window appears. It lists the templates of the same document type that you created or that others shared. Its details are in Select Template window.
- Choose a template and click Ok. Its name appears in the Template box.
What alameen does not allow:
- The subreport does not open in a second designer.
- The main template keeps a copy of the chosen template. After you change the original, choose it again in the Template box and save the main template to update the copy.
- The properties for the report source, its address and the parameter bindings are hidden from the Properties panel, and the command to edit parameter bindings is removed from its menu. So you do not bind the parameters of a subreport by hand.
When you preview or print, the program connects the subreport to the same document that the main report prints, and applies to it the Right-to-Left Layout option saved with the main template. For the other things the designer does not allow, see What alameen does not allow in the designer.
Related
This page applies to alameen ERP 10, version 10.1.79.764.