O'Reilly logo

Microsoft Access 2013 Inside Out by Jeff Conrad

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating an On Start macro

Access web apps can contain a special type of macro called an On Start macro. Access Services runs the On Start macro each time you navigate to the web app or when you refresh your browser window while viewing your web app. You cannot run the On Start macro from a separate macro using the RunMacro action; Access Services controls when it runs. The On Start macro is useful when, for example, you want to define variables each time a user navigates to your web app. Variables defined in views last until you close your browser window or set the variable to a different value.

To create an On Start macro, switch back to Access, select the App Home View object tab, and then click the Advanced button in the Create group on the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required