This documentation is archived and is not being maintained.

CRecordset::Cancel 

Requests that the data source cancel either an asynchronous operation in progress or a process from a second thread.


void Cancel( );

Note that the MFC ODBC classes no longer use asynchronous processing; to perform an asychronous operation, you must directly call the ODBC API function SQLSetConnectOption. For more information, see the topic "Executing Functions Asynchronously" in the ODBC SDK Programmer's Guide.

Show: