VSView Reporting Edition Reference > VSReport Control > VSReport Events > OnClose Event |
Fired when the control finishes rendering the report.
Private Sub VSReport_OnClose()
You can use this event to provide user feedback. To determine whether the whole report was rendered, or whether it was cancelled by the user, check the value of the Cancel property. For example:
Private Sub vsr_OnClose()
If vsr.Cancel Then
Debug.Print "** The report was Cancelled."
End If
End Sub