Datasnap.Provider.TDataSetProvider.Reset

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.Provider.pas
Datasnap.Provider.hpp
Unit: Datasnap.Provider
Parent: TDataSetProvider

Delphi

procedure Reset;

C++

void __fastcall Reset();

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.

See Also