Access 2010 Programmer's Reference by Teresa Hennig & Rob Cooper & Geoffrey L. Griffith & Jerry Dennison

Access 2010 Programmer's Reference by Teresa Hennig & Rob Cooper & Geoffrey L. Griffith & Jerry Dennison

Author:Teresa Hennig & Rob Cooper & Geoffrey L. Griffith & Jerry Dennison
Language: eng
Format: epub
Publisher: Wiley
Published: 2010-09-08T16:00:00+00:00


code snippet in table USysRibbons in RibbonSamples.accdb

Using Access Macros

As an alternative to using an expression, you can call an Access macro from the onAction callback. Using macros, you can create portions of the application that are available when the database is disabled. For more information about disabled mode, please see Chapter 25.

To specify an Access macro, simply use the name of the macro in the onAction attribute, as shown in the following XML:

<button id=“btnMacro” label=“onAction (macro)” onAction=“mcrLargeButton”/>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.