Working with view and control events

To automate your web app with macros, you need to understand events with views. Similar to data macros attached to table events, views and controls on views also contain a set of events to which you can attach macros. When a view event occurs (such as opening a view) or a view control event occurs (such as clicking a command button control), Access Services executes the macro logic you defined for the specific event.

All four view types support two view events—On Load and On Current. The On Load event occurs whenever Access Services loads a view into your web browser. This event fires whether you open the view by clicking the view name caption in the View Selector, open the view as a pop-up view, or Access Services ...

Get Microsoft Access 2013 Inside Out now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.