Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
TDataSet.Prior
TDataSet
Top 


Positions the cursor on the previous record in the dataset.

procedure Prior;

Description
Call Prior to position the cursor on the previous record in the dataset and make it the active record. Prior posts any changes to the active record and
·Sets the Bof and Eof properties to False.  
·Fetches the previous record, positions the cursor on it, and makes it the active record.  
·Fetches any additional records required for display, such as those needed to fill out a grid control.  
·Sets the Bof property to True if the cursor was already at the first record of the dataset.  
·Broadcasts the record change so that data controls and linked detail sets can update.  

Note:   TDataSet uses internal, protected methods to position the database cursor and to fetch additional records required for display. In TDataSet, these internal methods are abstract. Descendant classes implement these methods to enable the Last method to work.
        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Dec 26, 2024