BOF Property

Object List Next Object

Defined By:
Recordset

Description:

Indicates whether the current record is the first record in the Dynaset. If it is at the Beginning Of File (BOF), it is positioned before the first record.

Settings:


Setting Description


True Current record postion is at the beginning of file.

False Current record postion is a valed record.

Details:

Use BOF after using the MovePrev method to make sure you stay within the bounds of your file as you move between records.

BOF is set to False only when you create or open a RecordSet that consists of one or more records. In this case the first record is the current record. BOF is True when the current record is the first record, and you use MovePrevious. (Whenver BOF is True, there is no current record.) BOF and EOF are both True if there are no records in the RecordSet.

Data Type: Integer (Boolean)