TObjectStates values indicate the current state of an ADO object.
TObjectStates = set of TObjectState;
TObjectState TObjectStates;
Use TObjectStates values to determine the current activity status of a connection or recordset.
The constants that make up the TObjectStates type correspond directly to the similarly named constants used for the State property of the ADO Connection, Command, and Recordset objects. For additional information on these ADO constants and their effects, see the Microsoft Data Access SDK help in the topic for the State property.
TObjectStates consists of the five constants summarized in the following table:
Object State |
Meaning |
stClosed |
Connection object is inactive and not connected to a database. |
stOpen |
Connection object is inactive, but connected to a database. |
stConnecting |
Connection object is in the process of connecting to a database. |
stExecuting |
Connection object is currently executing. |
stFetching |
Connection object is retrieving data from the database. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|