GetNumItems

Gets the number of records to process for consolidation. This function can be used in Consolidation rules.

Syntax

NumItems = DataUnit.GetNumItems

Return Value

The number of records in the data unit.

Example

Set dataUnit = HS.OpenDataUnit("")
lNumItems = dataUnit.GetNumItems
for lItem = 0 to lNumItems - 1
' Get the next item from the Data Unit
Call dataUnit.GetItem(lItem, strAccount, strICP, strCustom1, strCustom2, strCustom3, strCustom4, dData)