The Close event occurs when you close the report. Use this event to close support forms or custom toolbars, or to perform other cleanup operations. You cannot cancel the Close event.

When viewing reports in the Print Preview window, users often click the Maximize button to look at the report in full screen view. The event procedure in Hands-On 25-2 ensures that upon closing the report, the Database window is always returned to its previous size.

Event Programming in Forms and Reports

0 0

Post a comment