RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataLink.ActiveRecord Property

Specifies the index of the current record within the internal record buffer maintained by the dataset for the Owner of the TDataLink object.

Pascal
property ActiveRecord: Integer;
C++
__property int ActiveRecord;

Use ActiveRecord to discover or set the current record in the set of one or more records managed by the dataset. The set of records managed by the dataset corresponds to the number of records from the dataset visible at one time. For example, when the TDataLink object is owned by a data-aware grid, the set of records managed by the dataset corresponds to the number of rows shown by the grid, and the ActiveRecord represents the current row.

Note: Unidirectional datasets do not buffer records. When the data link is used with a unidirectional dataset, ActiveRecord is always 0.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!