VSView Reporting Edition Reference > VSReport Control > VSReport Events > OnOpen Event |
Fired when the control starts rendering the report, before it opens the source recordset.
Private Sub VSReport_OnOpen()
You can use this event to provide user feedback or to make changes to the ConnectionString and RecordSource properties.
For example, you may want to implement your own version of parameterized queries by asking the user to provide some information and changing the RecordSource property accordingly.