IsBeginOfData (ODBCResultSet - LotusScript)

Indicates whether the cursor position is at the beginning of the result set.

Defined in

ODBCResultSet

Syntax

flag% = odbcResultSet . IsBeginOfData

Return value

  • True indicates that the cursor is on the first record.
  • False indicates that the cursor is not on the first record, or the result set has 0 rows.

Usage

When IsBeginOfData returns False, it could mean that the result set is empty. If you do not know whether any rows were returned from your query, use the IsResultSetAvailable method to test whether data is available before using methods that assume data is present.

Errors

Not connected to a data source (DBstsNCON)

The result contains no data (DBstsNODA)

Example