Name

Recordset.eof — determine if the cursor is after the last record

Synopsis

void Recordset.eof ( );  

Description

Returns true if the recordset's cursor is beyond the last record, false otherwise.

Example 66. Recordset.eof Example

// Loop through the records of a recordset
while(!rs.eof())
{
    // Do something with the current record
    
    rs.next();
}

See Also

Data sources and database access in RSP is explained in the section called “Accessing Databases”