In many database applications, it is helpful to have the same form open automatically every time that you open the database. The simplest way to set the default startup form is to specify the form in Access Options.
You can also create an AutoExec macro to perform actions when a database starts. For more information, see the article Create a macro that runs when you open a database.
Specify the default form in Access Options
This procedure assumes that you have already created the form that you want to display.
- Click the Microsoft Office Button , and then click Access Options.
- Click Current Database, and then in the Display Form list, select the form that you want to display when the database starts.
- Click OK, and then close and reopen the database to display the startup form.
- To bypass this option and other startup options, hold down the SHIFT key while you start the database. For more information, see the article Bypass startup options when you open a database.
- By attaching macros or VBA code to the startup form's OnOpen or OnLoad event, you can specify more actions that occur every time that the database starts. For more information about how to create macros, see the article Create a macro.
Top of Page