Editing Table Elements
Properties of this element are specified on the Table Element dialog.
Data Source
You can select either “Use data of the report” or “Run sub-query” radio buttons. Usually you will select the “Run sub-query” option to specify the query extracting related records. For example, to embed a table of line items into a report of an order you would define a query that looks something like this:
FIND LineItem WHERE LineItem IN PurchaseOrder.Items
The text of the query should be specified in the textbox next to the radio-button.
Table Columns
Here you define the columns of the table.
Tag Expression
Specify which attribute the column will show as a tag expression. If you defined a sub-query as data source the expression should start with the name of the object retrieved by the sub-query, for example, «LineItem.Price»
Column Name
Name of the column that will be shown in the table
Width
Width of the column in pixels
Alignment
Alignment of the column header and data in the column
Appearance
In this section you should specify how the table will look like.
Background Color
Specify background color of the cells in either the header of the table or the data section of the table.
Height
Specify height in pixels of either the header of the table or the data section of the table.
Font
Specify font of the cells in either the header of the table or the data section of the table.
Border Color
Specify color of the table’s border
Border Style
Specify the style of the border by clicking the appropriate button.