Table Field Component (Data Type) | Reference Syntax and Example |
Table field (TableField) | field(tablefield) Example: field(custtable) |
Title - Text (varchar(256)) | field(tablefield).title Example: field(custtable).title = 'New Customers'; |
- Visual characteristics (Free Trim) | field(tablefield).TitleTrim.attribute Example: field(custtable).titletrim. bgcolor =CC_PALE_BLUE; |
Table header (StackField) | field(tablefield).TableHeader Example: field(custtable).tableheader. bgpattern= FP_SHADE; |
Column (ColumnField) | field(tablefield[*].column) Example of setting a columnfield attribute: field(custtable[*].custname). bgcolor =CC_RED; |
ProtoField (FormField) | fieldtype(field(tablefield[*].column). ProtoField) Example of setting a protofield attribute: entryfield(field(custtable[*]. custname).protofield).bgcolor =CC_RED; |
Column Header - Text (varchar(256)) | field(tablefield[*].column).Title Example: field(custtable[*].custname). title ='Customer Name'; |
- Visual characteristics (Free Trim) | field(tablefield[*].column).TitleTrim. attribute Example: field(custtable[*].custname). titletrim.bgcolor = CC_RED; |
Table body (StackField) | field(tablefield).TableBody Example: field(custtable).tablebody. outlinewidth= LW_THIN; |
Individual cell (CellAttribute) | field(tablefield[n].column).attribute where n is the number of the array row containing the cell and attribute is an attribute of CellAttribute Example: field(custtable[3].custname). bgcolor =CC_RED; |