Bof

Indicates the beginning of query.

Example
Copy
var comp;
comp = CRM.CreateQueryObj('select * from Company where Comp_CompanyId=12');
comp.SelectSql();
if ((!comp.eof) && (!comp.bof))
    {
        CRM.AddContent(comp.comp_name);
    }
else
    {
        CRM.AddContent('Company does not exist');
    }
Response.Write(CRM.GetPage());

Displays the company name if it is not at the beginning of the query.