Description
Returns the record count (the number of rows) of the result
To get a record count, you first use
EnableRecordCount
to enable row count before calling RecordCount (GetRecordCount, for
Perl) to get the number of records.
Syntax
VBScript
resultset.RecordCount
$resultset->GetRecordCount();
-
Identifier
-
Description
-
resultset
-
A ResultSet object, representing the rows and columns of
data resulting from a query.
-
Return value
-
A Long containing the number of records in the result set.
Example
VBScript
Set ResultSet = cqSession.BuildResultSet(qrydef)
ResultSet.EnableRecordCount
ResultSet.Execute
count = ResultSet.RecordCount