Monday, October 10, 2011

How to get the number of rows in a query

This will return the number of rows currently available in a query :

SysQuery::countTotal(SalesTable_ds.queryRun();

while to return the number of rows loaded in a query :

SalesTable_ds.numberOfRowsLoaded();

Note that SalesTable_ds is a FormDataSource.


No comments:

Post a Comment