dbIsBOF property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax BOOL dbIsBOF

Overview:  Refer to Managing Images in a Database

Remarks

Indicates whether you have scrolled to a position before the first record in the recordset.

This helps you avoid errors when using the dbMove... methods. Also, you can use this method to determine whether a recordset contains any records. Immediately after calling the dbOpen method, the dbIsBOF method will return TRUE if the recordset is empty.

Value

Meaning

TRUE

You have scrolled before the first record (or the recordset is empty).

FALSE

You have not scrolled before the first record.

See Also

Elements:  dbCanAppend property, dbCanRestart property, dbCanScroll property, dbCanUpdate property, dbCurrentRecord property, dbEditMode property, dbIsDeleted property, dbIsEOF property, dbIsOpen property, dbRecordCount property

Topics:  Databases: Using ODBC