I have a form that's used for setting parameters for various reports as they open. I have a procedure set on the OnLoad of each report to open this form. In that event, I need to change the OnClick event procedure for the form's Cancel button so that it would close both the form and the report.
Report: rptAgentByDate (as a sample)
Form: frmReportParams
Button: frmReportParams!cmdCancel
If anyone can point me to a resource on this, or post a bit of sample, it would be greatly appreciated. Trying to search for this proved useless, as "onclick" isn't terribly useful in a search.