How to get Record count?

recCount = ABCShipTrans_ds.numberOfRowsLoaded();

 

Tips:

How to set text to one control, for example, display the count of record in a IntEdit control: PackageCount

1. Set AutoDeclaration property = true,

recCount = ABCShipTrans_ds.usageCount();
PackageCount.value(recCount);

 

2. Use display method

display int GetPackageCount()
{
    return ABCShipTrans_ds.numberOfRowsLoaded();
}

set those properties below

DataMethod: GetPackageCount
DataSource: ABCShipTrans
AutoDeclaration: No
posted @ 2010-12-07 11:34  AOT  阅读(261)  评论(0编辑  收藏  举报