Syntax:             BOOL CancelExecute ();

Return Value:    TRUE if the operation was successful, otherwise FALSE .


Call this method to halt a query execution triggered via the Execute button of the ELS-QB toolbar. This may be used within the PreExecute event, giving the host application a chance to check the SQL text before executing the query.

Note: Check the PreExecute and PostExecute events. Observe that the PreExecute event is fired before a query is executed, while PostExecute event is fired when the query execution is completed.


For Sample of CancelExecute () usage see the Example of PreExecute()  event.