Is the dataset unidirectional (i.e. forward scrolling only).
Source position: db.pas line 1955
public property TDataSet.IsUniDirectional : Boolean |
IsUniDirectional is True if the dataset is unidirectional. By default it is False, i.e. scrolling backwards is allowed. If the dataset is unidirectional, then any attempt to scroll backwards (using one of TDataset.Prior or TDataset.Last), random positioning of the cursor, editing or filtering will result in an EDatabaseError. Unidirectional datasets are also not suitable for display in a grid, as they have only 1 record in memory at any given time: they are only useful for performing an action on all records:
With MyDataset do While not OFo begin DoSomething; Next; end;
|
Go to the previous record. |
|
|
Go to the next record in the dataset. |