Getting number of recrods present in a query run

Scenario: I want to get the total number of records from a query run object. I will use them to generate a progress bar (progress indication framework).

Answer: Use SysQuery::countloops(qr). this will return the total number of records in a query object.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.