Field Specifications
To read or set a certain field value, you can refer to that specific data element as follows:
[<Object>.]<Field>
Item | Description | |||||
<Object> |
Object that contains one or more variables.
Objecttypes:<Form> | <Report> | <Print layout> | <Global routine> | <Table> | <Index> | <Array> | <File layout> |
|||||
<Field> |
Field of one of the types described below. <Constant> | <Variable> | <Layout field> |
<Database field> | <Array element> |
|||||
<Constant> |
Specification for a globally or locally defined container that holds a fixed value. |
|||||
<Variable> |
Specification for a globally or locally defined container that holds a variable value. |
|||||
<Layout field> |
Specification for a certain container in the layout control. In this specification may be
pointed to a certain The syntax for specifying a layout field is as follows:
The quotes around brackets in this syntax description mean that these brackets have to be
specified literally. <Layout control> is the name of the layout control that
contains the (sub)value. This may be a paint item in <Element position> is the specification to point to a certain element. This
option only applies for graphical If the layout control is not a listbox or combobox, the horizontal and vertical occurrences are
specified the same If multiple occurrence applies to listboxes or comboboxes, the value for the horizontal
occurrence is represented If the horizontal occurrence is not set for listboxes or comboboxes and the value is less than
100, the value for <Property> is one of the properties that is available for the applicable <Layout control>. <Recordname> is the name to point to a specific record. Examples:
fr10lbl := 'invoice
nr.'
lay10.fr10lbl := 'test' display_3.color := 444 rec_10.line1 := ' Number of printed lines ' + sn_linesprinted edit_0[1].color := 0 lay_1.display_3[1, 3] := 'klmnop' // The element in print layout control DISPLAY_3 // on layout lay_1 that is on the // first column and the 3rd row // gets the value 'klmnop' |
|||||
<Database field> |
Field in the specified database object. Database fields can be fetched through tablequery or free join query Example:
q_users.username
|
|||||
<Array element> |
Specification of the element. Array elements are specified between brackets ([]). |