Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) B14308-01 |
|
Applies To
Description
This method returns TRUE if the current record in a dynaset is the first record in that dynaset. In the case of an OBinder object, the current record is in the bound dynaset.
Usage
oboolean IsFirst(void) const
Remarks
When a dynaset is opened; the current record is automatically the first record and IsFirst will be TRUE.
If the current record is invalid, such as when BOF is TRUE; IsFirst will be FALSE. This cannot occur in an OBinder as the underlying dynaset is bound between BOF and EOF.
Return Value
TRUE if the current record is the first; FALSE otherwise.