Editing Table Elements

Properties of this element are specified on the Table Element dialog.

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.

Here you define the columns of the table.

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»

Name of the column that will be shown in the table

Width of the column in pixels

Alignment of the column header and data in the column

In this section you should specify how the table will look like.

Specify background color of the cells in either the header of the table or the data section of the table.

Specify height in pixels of either the header of the table or the data section of the table.

Specify font of the cells in either the header of the table or the data section of the table.

Specify color of the table’s border

Specify the style of the border by clicking the appropriate button.