Description
Returns the record count (the number of rows) of the result
set.
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.
Syntaxe
VBScript
resultset.RecordCount
Perl
$resultset->GetRecordCount();
- Identificateur
- 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.
Exemple
VBScript
Set ResultSet = cqSession.BuildResultSet(qrydef)
ResultSet.EnableRecordCount
ResultSet.Execute
count = ResultSet.RecordCount