In many Access databases, it is helpful to have the same form open automatically every time that you open the database. To set the default startup form, you specify the form in Access Options.
You can also create an AutoExec macro to perform actions when an Access 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 a database open and that you have already created the form that you want to display.
Click the File tab, and then under Help, click Options.
Click Current Database.
Under Application Options, 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 user interface (UI) macro.