Data.Win.ADODB.TCustomADODataSet.CursorType

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Unit: Data.Win.ADODB
Parent: TCustomADODataSet

Delphi

property CursorType: TCursorType read GetCursorType write SetCursorType default ctKeyset;

C++

__property TCursorType CursorType = {read=GetCursorType, write=SetCursorType, default=2};

Description

Specifies type of cursor an ADO dataset uses.

Set CursorType to indicate the type of cursor the ADO dataset uses for the recordset when it is opened. CursorType must be set prior to activating the dataset component. Among other cursor aspects, CursorType affects directional scrolling through a recordset and the visibility of changes made by other users.

The default value of CursorType is ctKeyset.

See Also