OnAsyncQueryFinish

<< Click to Display Table of Contents >>

 

OnAsyncQueryFinish

OnAsyncQueryFinish(Recordset, Error)

Occurs when the GetAsyncADORecordset method returns. The Recordset parameter is an ADO Recordset object generated by a Query and the Error parameter is a Boolean value that, when in True, indicates that this object could not be generated. The next script contains an example of using this event.

Sub query1_OnAsyncQueryFinish(Recordset, Error)
  MsgBox "Returned " + CStr(Recordset.RecordCount) + " records"
End Sub

Was this page useful?