Table field attributes are queried using the following syntax:
$#table[$#fieldid,!ATTRUBUTE]
The following attributes are available:
!ALIGN
0 if the field's text is left aligned, 1 if it is right aligned.
!EDITABLE
1 if this field is editable, 0 otherwise.
!FORMAT
Returns the field's show format string (as set using the SET table CONFIG fieldid command).
!HEADER
The field's text header, displayed at the top of the column in an attached listview (LISTVIEW, mk:@MSITStore:pg_cr.chm::/2956.htm).
!MMODE
1 if missing value replacement is enabled, 0 otherwise.
!MSYMBOL
The symbol used to represent missing values in a listview (LISTVIEW, mk:@MSITStore:pg_cr.chm::/2956.htm).
!MULTIROW
The table field attribute !MULTIROW can be used to query and set the "multirow" property of a table row. If set to '1', the table field will support multirow entries.
!MVALUE
The numerical value of a values to be recognised as 'missing'.
!NAME
1 if the name and value of the field should be displayed in the listview (LISTVIEW, mk:@MSITStore:pg_cr.chm::/2956.htm), 0 if only the value should be displayed.
!SCALE
The value numerical fields are multiplied with when displayed in the show format. See SET table CONFIG for details.
!SORTABLE
1 if clicking the associated column in a listview (LISTVIEW, mk:@MSITStore:pg_cr.chm::/2956.htm) will sort the column, or 0 to disable column sorting.
!TYPE
Returns the field type: INT|NUM|STRING|NAME
!VDEFAULT
Returns the value list default value, if defined.
!VFIELD
Returns the index of the value field in the value list table (if specified). See the table item command CONFIG for details).
!VISIBLE
1 if the field is visible in an attached listview (LISTVIEW, mk:@MSITStore:pg_cr.chm::/2956.htm), 0 if it is hidden.
!VONLY
1 if only values in the associated value table are permissible, 0 otherwise.
!VTABLE
The name of the value list table (if specified). See SET table CONFIG for details.
!VUSERDEFAULT
The table field attribute !VUSERDEFAULT returns the 1 if the SET table CONFIG parameter setuserdefault was set to ON for this field.
!WIDTH
Returns the width of the column in characters (this value is used by an associated listview (LISTVIEW, mk:@MSITStore:pg_cr.chm::/2956.htm)).