Innehåll
Index 🔎︎

# 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.

### Tillbaka

View the selections in the dialog made in the previous step. The current settings remain unchanged. This button can only be activated from page two on.

### Nästa

Click the Next button, and the wizard uses the current dialog settings and proceeds to the next step. If you are on the last step, this button becomes Create.

### Färdigställ

Tillämpar alla ändringar och stänger guiden.

### Avbryt

När du klickar på Avbryt stängs dialogrutan utan att några ändringar sparas.

Närliggande ämnen

An in depth explanation by the developers (Wiki).