目录

# Migrate Macros

The Database Document Macro Migration Wizard moves existing macros from sub-documents of an old Base file into the new Base file's macro storage area.

Previously, macros have been allowed to reside only in the text sub-documents of forms and reports. Now macros can also be stored in the Base file itself. This means that macros in Base files can be called now from any of its sub-components: forms, reports, table design, query design, relation design, table data view.

However, it is technically not possible to store macros both in a Base file and in its sub-documents at the same time. So, if you want to attach some new macros to the Base file, while retaining any existing old macros that were stored in the sub-documents, you must move the existing old macros up to the Base file's macro storage area.

The Database Document Macro Migration Wizard can move the macros up into the Base file's storage area. You can then examine the macros and edit them as needed.

For example, it is possible that macros from the sub-documents had the same module names and macro names. After you moved the macros into one common macro storage area, you must edit the macros to make the names unique. The wizard cannot do this.

The wizard can backup the Base file to another folder of your choice. The wizard changes the original Base file. The backup remains unchanged.

### 上一步

查看上一步对话框中所做的选择。当前设置保持不变。从第二个页面开始才可以激活此按钮。

### 继续

点击「下一步」按钮，「向导」将采用当前对话框的设置并转到下一步。如果到达了最后一步，对应位置的按钮变为「创建」。

### 完成

应用所有更改并关闭向导。

### 取消

点击「取消」关闭对话框，不保存所做的任何修改。

相关主题

An in depth explanation by the developers (Wiki).