This blog is about daily challenges we normally faced in Dynamics 365 and Dynamics AX development.
Friday, April 1, 2011
Count total number of records
To count number of records in a query, you just need check it through SysQuery::countTotal(QueryRun) and if the query have more than one data sources use SysQuery::countLoops(QueryRun) instead of SysQuery::countTotal(QueryRun).
No comments:
Post a Comment