Constructor
- Last Updated: February 11, 2026
- 2 minute read
- OpenEdge
- Version 13.0
- Documentation
The ProDataObjectMetaData class
has the following constructor:
Syntax
|
- tableName
- Specifies a name for the specified
ProDataObjecttype (and collection). This name is typically identical to any ABL temp-table to which this collection is mapped. - numFields
- Specifies the number of fields (column properties) in the specified
ProDataObjecttype. - bimageFlag
- Specifies
trueif the corresponding ABL temp-table is defined with theBEFORE-TABLEoption, indicating that the temp-table (and hence theProDataObjectcollection) can be modified. Otherwise, this value must befalseand you cannot modify the data contained in the collection. - numIndexes
- Specifies the number of indexes on the table.
- multiIxCols
- Specifies
nullif there are no indexes or a formatted string that contains all the index info for this temp-table, as follows:Syntax
"[primeUniqueFlag,primeFld1[,primeFldn]...:primeIdxName.] [uniqueIdxfld1[,uniqueIdxfldn]...:uniqueIdxName.]..."
- primeUniqueFlag
- Specifies a primary index with a value of 1 if the index is unique and a value of 0 if the index is not unique.
- primeFld1 [,primeFldn]...
- Specifies the names of one or more fields involved in the primary index.
- primeIdxName
- Specifies the primary index name.
- uniqueIdxfld1 [,uniqueIdxfldn]...
- Specifies names of one or more fields involved in a unique secondary index.
- uniqueIdxName
- Specifies a unique secondary index name.
- XMLNamespace
- Specifies the namespace for XML serialization or
null. - XMLPrefix
- Specifies the prefix for XML serialization or
null.
Examples
Note that a table can have no indexes, a single primary index followed by zero or more secondary unique indexes, or it can have a single secondary unique index followed by zero or more additional secondary unique indexes. Examples of these tables follow:- Table with a single primary index:
"1,custNum:CustIndex"This is a primary unique index named
CustIndexwith one column namedcustNum. - Table with a single secondary index:
"orderDate:OrderIndex"This is a secondary unique index named
OrderIndexwith one column namedorderDate.
- Table with two indexes:
"1,custNum:CustIndex.orderDate,shipDate:OrderIndex"The two indexes are:
- A primary unique index named
CustIndexwith one column namedcustNum. - A secondary unique index named
OrderIndexwith two columns namedorderDateandshipDate
- A primary unique index named
- Table with three indexes:
"0,custNum,custName:CustIndex.orderDate:OrderIndex. itemNum:ItemIndex"The three indexes are:
- A primary non-unique index named
CustIndexwith two columns namedcustNumandcustName - A secondary unique index named
OrderIndexwith one column namedorderDate - A secondary unique index named
ItemIndexwith one column nameditemNum
- A primary non-unique index named