sqlquerythread WaitThread property
Return to Introduction  Previous page  Next page
Applies to
acThread, acSQLQueryThread, acHTTP and acSendMail components.  

Declaration
property WaitThread: Boolean;  

Description
The WaitThread property controls whether the procedure that calls the RunSQL method should be suspended and wait until the scanning process will be done.  
 
Set the WaitThread to True, if you would like to process SQL query in separate thread so that the application does not continue with next lines of code after calling the RunSQL method. Your application will done execution of the thread before continuing to next step.  
 
tip If your application can wait, until the the SQL query will be completed, only for some limited time interval — specify WaitTimeout property.  

See also
RunSQL and Abort methods.