AgileApps Support Wiki Pre Release

Difference between revisions of "GetRecordCount"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 6: Line 6:
;Syntax:
;Syntax:
:<syntaxhighlight lang="java" enclose="div">
:<syntaxhighlight lang="java" enclose="div">
int count = Functions.getRecordCount(String objectId, String criteria)  
int count = Functions.getRecordCount(String objectId, String criteria);
</syntaxhighlight>
</syntaxhighlight>



Revision as of 22:05, 29 September 2011

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

Syntax
<syntaxhighlight lang="java" enclose="div">

int count = Functions.getRecordCount(String objectId, String criteria); </syntaxhighlight>

Parameters
objectId
The object identifier
criteria
A filter expression that specifies records to select.
Returns
An integer containing a count of records that match the selection criteria.