getRecordCount

From LongJump Support Wiki
Revision as of 18:34, 30 September 2011 by imported>Aeric
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Gets a count of records in an Object that match specified filtering criteria.

Syntax
int count = Functions.getRecordCount(String objectName, String criteria);
Parameters
objectName
The object name or identifier
criteria
A filter expression that specifies records to select.
Returns
An integer containing a count of records that match the selection criteria.