Use the array model
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The array model methods behave as follows:
-
getFieldCount()returns the value 3 -
getFieldProType(2)gets the data type of the secondTABLEfield -
getFieldProType(3)gets the data type of the thirdTABLEfield
In this model, since all elements of an array field have the same meta data information, it is necessary to pass only the field index (without an array item index) to these meta data methods. For methods that get a field value, each method has an extra parameter to specify an array index. For example, the method to get the value of a field as an object is as follows:
|