QueryRecordCount()

Returns the row count of given query

QueryRecordCount( query=query );

Returns: Number

Argument Description
query
query, required

Query object to get data from.

Examples

qry=queryNew("aaa");
arr=arrayNew(1);
arr[1]="a";
arr[2]="b";
arr[3]="c";
QueryAddColumn(qry,"b",arr);
writeDump(queryrecordcount(qry));

See also