Cancel Method Example (VBScript)

Microsoft ActiveX Data Objects (ADO)

Cancel Method Example (VBScript)

The following example shows how to read the Cancel method at run time.

<Script Language="VBScript">
<!--
Sub cmdCancelAsync
  ADC.Cancel
   ' Terminates currently running AsyncExecute,
   ' ReadyState property set to adcReadyStateLoaded,
   ' Recordset set to Nothing
End Sub
-->
</Script>