Data Item Class Property
This section discusses the ItemNum property.
Description
This property returns the number of the data item (row) in the collection. For example, many of the data collection methods takes a number as a parameter. Use this property to determine the item number (row number) of an item in a collection, then use that number in another method.
This property is read-only.
Example
Evaluate USER_ACTION
. . .
When = "D"
&CI_ITEM = &CI_LVL1_NAMES.ItemByKeys(&NAME_TYPE, &NAME_PART);
If &CI_ITEM <> Null then
&I = &CI_LVL1_NAMES.ItemNum;
&CI_LVL1_NAMES.DeleteItem(&I);
End-if;
. . .
End-Evaluate;