• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 11. What Are Macros and When Do ... > Creating an AutoExec Macro

Creating an AutoExec Macro

In earlier versions of Access, the only way to have something happen when a database was opened was to use an AutoExec macro. With Access 97, you can use either an AutoExec macro or Startup options to determine what occurs when a database is opened. Nevertheless, using an AutoExec macro to launch the processing of your application is certainly a viable option.

Note

I prefer to include as few macros as possible in my application. For this reason, I tend to designate a Startup form for my application that calls a custom “AutoExec” routine when it's opened. This method is covered in Chapter 37, “Distributing Your Application with ODE.”



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint