GetNumItems

連結するレコードの数を取得します。この関数は、連結ルールで使用できます。

構文

NumItems = DataUnit.GetNumItems

戻り値

データ単位内のレコードの数。

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)