RecordCount

Gets the number of records referred to by the CRMQuery object.

Parameters

None

Examples

var Query;
Query = CRM.CreateQueryObj("Select * from company");
Query.SelectSQL();
CRM.AddContent("There are " +Query.RecordCount+ " records.");
Response.Write(CRM.GetPage());

Displays a record count of all records in the Company table of the default database.