*DefineTableForm()

Indicates the beginning of a table format definition block.

Syntax

*DefineTableForm(table_format,table_name)

Arguments

table_format
The variable name of the table format definition.
Data type: varname
table_name
The table to be formatted and displayed.
Data type: Table

Example

*Form(frm_loads, "Load cases", frmdef_loads, 
 ds_loads)
*DefineForm(frmdef_loads, ds)
 *SetRowsCols(8, 6)
 *MergeCells(2, 1, 8, 6)
 *SetCell(2, 1, ds.tbl_load, tblfrmdef_loadcase)
*EndDefine()
*DefineTableForm(tblfrmdef_loadcase, tbl)
 *SetRowsCols(1, 5)
 *SetCell(1, 1, tbl.loadnum.value, , Right, Edit)
 *SetCell(1, 2, tbl.title.value , , Right, Edit)
*EndDefine()

Context

*BeginMdl()

Comments

The *DefineTableForm() statement specifies the format used to display one record of the table. The same format is used to display all the records in the table.

The *DefineTableForm() block must end with an *EndDefine() statement.