Visual InterDev

             

Specifies whether the cursor is positioned before the first record of the Recordset object. Read-only at run time. Not available at design time.

Syntax

object.BOF

Parameters

object

A script object.

Remarks

This property contains a Boolean value. If the value is true, the cursor is positioned before the first record of the Recordset object, otherwise the value is false.

You can use this property to avoid backing up before the first record of the recordset.

Note   This property determines if the cursor is positioned before the first record in the recordset.

Use the EOF property to specify whether the cursor is positioned after the last record of the recordset.

Example

The following VBScript demonstrates how to move through a recordset in reverse order.

MyRecordset.moveLast
Do While not MyRecordset.BOF
   Response.write MyRecordset.fields.getValue(“myfield”)
   MyRecordset.movePrevious
Loop