MS-Access / Getting Started

Saving Named Data Macros

You've completed creating your first named data macro, but now you need to save it and give it a name. Unlike data macros attached to table events, named data macros require unique names. To save your new named data macro, click the Save button in the Close group on the Design contextual tab, or click the Save button on the Quick Access Toolbar. Access opens the Save As dialog box. Save the named data macro with the name ClearLogsTest.

Each named data macro attached to a table must have a unique name. You are allowed to have named data macros with the same if they are attached to different tables. If you attempt to save a named data macro with the same name as a named data macro attached to the same table, Access displays a warning message. If you click Yes, Access overwrites the existing named data macro with the new logic that you just defined.

[Previous] [Contents] [Next]