property is used to get the number of elements in a composite key.
Remark: The item was created in the data model editor or through programming.
// Find out the number of components in the Customer.LNameFName composite key
ResNbComp = Customer.LNameFName.NbComponent
<Result> = <Data file>.<Item>.NbComponent
- Number of elements in the composite key,
- 1 if the key is not a composite key.
<Data file>: Character string
Logical name of the data file used.
<Item>: Character string
Name of the key item used.
Handling a composite key
property is used to get and change the name of the item associated with each component of the key.