Datasnap.Provider.TDataSetProvider.Reset
Delphi
procedure Reset;
C++
void __fastcall Reset();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TDataSetProvider |
Description
Resets and closes the dataset.
If the dataset is opened, the Reset method resets and closes the dataset. Additionally, if the dataset is active, the cursor is positioned on the first record.
Note: Reset raises an exception if the dataset is not assigned.