Data.Win.ADODB.TCustomADODataSet.CursorType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CursorType: TCursorType read GetCursorType write SetCursorType default ctKeyset;

C++

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

Properties

Type Visibility Source Unit Parent
property published
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TCustomADODataSet

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