- Aug 9, 2022
- 9
- 2
- 1
- Customer Identifier
- E114627
Records of a workarea can be represented very elegantly by instances of the DataObject() class. The easiest way to create such instances is to use the SCATTER NAME command. In the simplest case, the resulting DataObject receives an exported member variable with the name of the field name for each field of the record. In addition, the command SCATTER NAME knows further options to restrict the fields or to select a certain work area.
In this example a DataObject is created which represents the current record of a specific workarea:
See also:
Xbase++ documentation Command SCATTER NAME
SCANNER NAME and inner loops
In this example a DataObject is created which represents the current record of a specific workarea:
Xbase++:
...
nCustomer := Select()
...
SCATTER NAME oCustomer IN (nCustomer)
...
See also:
Xbase++ documentation Command SCATTER NAME
SCANNER NAME and inner loops
Last edited by a moderator: