Auto Shutdown
Here's how to close a form after it’s used:- Open the first form in Design view.
- Double-click the Form Properties button.
- Click on the Event tab.
- Click in the On Deactivate text box.
- Select Event Procedure.
- Click the Build button.
- At the prompt, enter: Me.TimerInterval =1.
(Try something like 30000 milliseconds)
- Press [Alt][Q].
- In the Form Properties window, click in the On Timer property text box.
- Select Event Procedure.
- Click the Build button.
- At the prompt, enter: DoCmd.Close.
- Press [Alt][Q].
- Save the form.
Microsoft Support
See all Topics
No comments:
Post a Comment