The list structure can be implemented in LDL+ as a group item to describe a four column list field such as:
GSD; GSD-FIELD-ATTRIB GR GSD; GSD-SEP1 ED;A LE;1 (:) GSD; GSD-FIELD-NAME ED;A LE; 18 GSD; GSD-SEP2 ED;A LE;1 (:) GSD; GSD-COPY ED;A LE; 4 GSD; GSD-SEP3 ED;A LE;1 (:) GSD; GSD-ATTRIBUTE ED;A LE; 10 GSD; GSD-SEP4 ED;A LE;1 (:) GSD; GSD-ATTR-PARAM1;A LE; 20 END.GROUP;
The first column is GSD-FIELD-NAME, which contains the field name to be highlighted on the client form.
The second column is GSD-COPY, which contains the field’s Copy.From number, to distinguish specific fields in a COPY.FROM area.
The third column is GSD-ATTRIBUTE, which specifies the presentation attribute to be applied to the specified field.
The fourth column is GSD-ATTR-PARAM1, which might contain additional information required by some attributes (for example, Color specification for the FORECOLOR attribute).
In this example, the column separator has been defined as a colon “:” character. However, this can be changed as required to meet any site-specific conditions.
To refer to the name of the fields within an Insertable or presented Class on the ispec, you should use a special name format using the “$” character for qualification. This form of the name has to be qualified with both the instance name and the class name of the Insertable/Class. The format of this name can be represented as follow:
<instance name>$<class name>$<field name>
For example, you have a presented class called “Address”, which contains fields “Address_Line” and “Postcode”, and if the ispec includes an instance of “Address” called “PostalAddr”, to refer to the two fields within this presented class instance, use the following name formats:
“PostalAddr$Address$Address_Line”
“PostalAddr$Address$Postcode”
The size and number of group items can also be increased or decreased to suit any custom requirements (for example, The parameter column can be increased to accept more data; Additional columns can be added when defining custom attributes).
Declaring a global item for the List name is also recommended. For example:
GSD; GSD-LISTNAME ED; A LE; 20