Data.DB.TDataSet.SetState
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: protected | |
| Source: Data.DB.pas Data.DB.hpp
| |
| Unit: Data.DB | |
| Parent: TDataSet | |
Delphi
procedure SetState(Value: TDataSetState);
C++
void __fastcall SetState(TDataSetState Value);
Description
Sets the dataset's state.
SetState sets the dataset's state. You do not need to call this method; the state is internally updated when changes are made in the dataset. The Value parameter is TDataSetState and represents the state to set.