Next()

Selects the next row or SELECT statement in the query.

Parameters

None

Examples

var Query;
Query = CRM.CreateQueryObj("Select * from company", "");
Query.SelectSql();
while (!Query.eof)
{
CRM.AddContent(Query("comp_companyid") + " = " + Query("comp_name") + "
");
Query.Next();
}
Response.Write(CRM.GetPage());

Returns the next row in the query that displays company identifiers and names.