Because you can use Access 2002 to design objects in Access 2000 file format, it is possible to create a macro that contains macro actions that are only available in Access 2002. When you later open this macro in Access 2000, the new macro action is unavailable, and a comment appears as a
placeholder for the Access 2002-specific macro action.
Steps to Reproduce the Behavior
1. | In Access 2002, open any Access 2000 database or project. |
2. | Create a new macro. |
3. | Enter the following information into this new macro:
Macro Name Condition Action
--------------------------------------
A1 MsgBox
A2 CopyDatabaseFile
A1 Action Arguments
---------------------------------
MsgBox
Message: Getting ready to copy...
Beep: Yes
Type: None
Title: Copy File
A2 Action Arguments
---------------------------------------------
CopyDatabaseFile
Database File Name: C:\My Documents\My DB.mdb
Overwrite Existing File: Yes
Disconnect All Users: No
|
4. | Save the macro as Macro1, close the macro, and then close the database or project. |
5. | In Access 2000, reopen the same database or project. |
6. | Open the Macro1 macro in Design view. Note that the action for A1 (MsgBox) is still available. However, the action for A2 is blank, and there is a comment to indicate that an Access 2002-specific action (CopyDatabaseFile) is not available to Access 2000 users. |