METHOD:  Recordset::Cancel

recordsetobject.Cancel

The Cancel method is used to cancel the last pending, asynchronous call to the Open method of the Recordset object.
 
An asynchronous call returns control to the calling program before the operation is completed and allows the execution of the code to continue.
 
Code (VBScript):
objRecordset.Open strQuery, , , adCmdTable
...
objRecordset.Cancel

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information