NOTE: ODBCDirect workspaces are not supported in Microsoft Access 2013. Use ADO if you want to access external data sources without using the Microsoft Access database engine.
|
Indicates whether or not an asynchronous operation (that is, a method called with the dbRunAsync option) has finished executing (ODBCDirect workspaces only).
Syntax
expression .StillExecuting
expression A variable that represents a QueryDef object.
Remarks
Use the
StillExecuting property to determine if the most recently called asynchronous
Execute or
OpenRecordset method (that is, a method executed with the
dbRunAsync option) is complete. While the
StillExecuting property is
True, any returned object cannot be accessed.
Once the
StillExecuting property returns
False, following the
OpenConnection call that returns the associated
Connection object, the object can be referenced. So long as
StillExecuting remains
True, the object may not be referenced, other than to read the
StillExecuting property.
Use the
Cancel method to terminate execution of a task in progress.