BOF Property

Applies To:

Recordset object


Tells whether the current record is the first record of the recordset.


BOOL/Boolean Recordset.BOF


NOTE: Currently BOF is true when the current is the first record, not before the first record.


This Visual Basic example displays a message box if the current record is the first of the Recordset.

Dim RecSet As Object     'Recordset object

If (RecSet.BOF) Then     

     MsgBox ("This is the first record.")   

End If

See Also:

EOF Property

2005 CambridgeSoft Corporation. All Rights Reserved. Privacy Statement
Tel  800 315-7300 / 617 588-9300     Fax  617 588-9390     Email
CambridgeSoft Corporation, 100 CambridgePark Drive, Cambridge, MA 02140 USA