adoBlockMode
Previous Topic  Next Topic 

Synopsis:

       adoBlockMode(block_mode)

Arguments:

       block_mode - Set to 0 for blocking, non-zero for non-blocking mode


Description:   This function affects the adoConnOpen(), adoRSetQuery() and adoRSetCmd() functions and defines wheher these functions will block waiting until the asynchronous function completes (blocking mode) , or whether the function return control back to the calling task immediately.             


In non-blocking mode it is up to the calling application to ensure that the asyncronous function has completed before attempting any other ado function that attempts to access the object.               There are certain exceptions to this such as the adoConnParmGet(), adoConnParmSet(), adoRSetParmGet(), adoRSetParmSet() which can be called at any time after the object handles have been created.      



Returns:   0