CursorType

This property indicates the type of cursor used in a Recordset object.

Syntax

recordset.CursorType

Return Values

Indicates what movement through the recordset is enabled and how updates to the underlying database are reflected in the recordset. The return value is either 0 (adOpenForwardOnly) or 1 (adOpenKeyset).

Remarks

Use the CursorType property to specify the type of cursor that should be used when opening the Recordset object. The CursorType property is read/write when the recordset is closed and read-only when it is open.

The CursorType property may change to match the actual cursor type in use when the Recordset object is open. To verify specific functionality of the returned cursor, use the Supports method.

Because ADOCE implements only adOpenForwardOnly and adOpenKeyset, all other values are mapped to adOpenKeyset.