RAD Studio VCL Reference
|
Halts execution of an ADO command.
procedure Cancel;
__fastcall Cancel();
Call Cancel abort the execution of a command executed by the command component. To use Cancel to abort a command, the command by have been executed asynchronously (the eoAsyncExecute TExecuteOption must have been used). If the command is not asynchronous an exception is raised. Use the command component's ExecuteOptions to specify that a command is executed asynchronously.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|