Current location - Quotes Website - Collection of slogans - Access uses macro control programs to create macro groups.
Access uses macro control programs to create macro groups.
If there are many macros, grouping related macros into different macro groups helps to manage the database conveniently.

Create a form and add 4 buttons (if the button wizard dialog box appears, select Cancel).

According to the method of creating a macro, open the macro design view, and click the "Macro Name" button on the toolbar to add a macro column name to the macro.

Give these four buttons a macro name and choose a macro action.

Close the macro design view and save the macro.

The Macro Name column is used to identify the macro. When a macro in a macro group is executed, when the Macro Name column in the Action column is empty, Microsoft Access will execute the operation in the Action column and the operation immediately after it.

To execute a macro in a macro group, you can call the macro in the following format: macro group name+"period"+macro name.

Select the appropriate macro name in the event/click drop-down list box in the button properties window.

Run the form and click each button to execute the corresponding macro in the macro group.