Set the default form that appears when you open a database

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.

  1. Click the Microsoft Office Button Button image, and then click Access Options.
  1. Click Current Database, and then in the Display Form list, select the form that you want to display when the database starts.
  2. Click OK, and then close and reopen the database to display the startup form.

 Notes 

  • 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 Top of Page

 
 
Applies to:
Access 2007