The State attribute property can be used to check the state of the data query.
|
Syntax | |
|
State | |
|
Return value | |
|
Type |
Description |
|
TableState |
State of the data query |
|
Parameter | |
|
None | |
|
TableState |
Description |
|
0 – TState_Closed |
The data source is closed |
|
1 – TState_Open |
The data source is open |
|
2 – TState_Connecting |
The data source is currently connecting |
|
4 – TState_Executing |
The data source executes a statement |
|
8 – TState_Fetching |
The data source is currently performing a data query |