CursorType Property

Returns the cursor type for the recordset (ADO only). Read only.

object.CursorType = [value]

Use

The following settings are available for the CursorType property:

Settings

Description

DBOpenDynamic

Uses a dynamic cursor. Additions, changes, and deletions by other users are visible, and all types of movement through the Recordset are allowed.

DBOpenForwardOnly

Uses a forward-only cursor. Identical to a static cursor, except that you can only scroll forward through records. This improves performance when you need to make only one pass through a Recordset.

DBOpenKeyset

Uses a keyset cursor. Like a dynamic cursor, except that you can't see records that other users add, although records that other users delete are inaccessible from your Recordset. Data changes by other users are still visible.

DBOpenStatic

Uses a static cursor. A static copy of a set of records that you can use to find data or generate reports. Additions, changes, or deletions by other users are not visible.

DBOpenUnspecified

The cursor type is unspecified or unknown.

This property is only available when the Server property for the corresponding Connection object is set to DBServerADO.

See Also

DBOpen action | Server property

Applies To

Data control

DataGrid control

Recordset object


© 2004-2021 looksoftware. All rights reserved.