RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSet.IsSequenced Method

Indicates whether the underlying database table uses record numbers to indicate the order of records.

Pascal
function IsSequenced: Boolean; virtual;
C++
virtual __fastcall Boolean IsSequenced();

Use IsSequenced to determine whether the underlying database table supports sequence numbers, or whether these are computed by the dataset component. When IsSequenced returns true, applications can safely use the RecNo property to navigate to records in the dataset. 

As implemented in TDataSet, IsSequenced always returns true. Descendants of TDataSet reimplement this method to return a value that depends on the underlying table type. 

 

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