ReadOnly (ODBCResultSet - LotusScript)

Read-write. Indicates whether a result set is read-only. Can be set to True to prevent updates.

Defined in

ODBCResultSet

Data type

Boolean

Syntax

To get: flag% = odbcResultSet . ReadOnly

To set: odbcResultSet .ReadOnly = flag%

Legal values

  • True indicates that the result set and possibly the data source are read-only.
  • False indicates that the result set and data source can be updated.

Usage

Even if the data source does not support a command to place itself in read-only mode, you can set the result set to read-only.

Example