TAdsTable.RecNo

TAdsTable

Advantage TDataSet Descendant

Indicates the current record in the dataset.

Syntax

property RecNo: Longint;

Description

Examine RecNo to determine the record number of the current record in the dataset. Applications might use this property with RecordCount to iterate through all the records in a dataset, though typically record iteration is handled with calls to First, Last, MoveBy, Next, and Prior.

Note By default RecNo will not return the sequential (logical) record number if an index or filter is set. This can be turned on using the Sequenced property.

 

Note Records deleted inside of a transaction that has not yet been committed will still be included in a record count.

See Also

SequencedLevel