Fix an Access Data Macro That Does Not Run from a Front-End Database
Question details
The user needs to determine why an Access data macro does not appear to run when a record is edited through a front-end form and linked table.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- A front-end Access database edits records in a linked back-end table that has a data macro.
- Observed behavior
- The macro appears to run when a record is edited directly in the back-end database, but not when the edit is made through the front-end form.
Identify the front-end form, its linked table, and the back-end table containing the data macro. Check whether the macro is attached to the event you are testing, such as an update rather than an insert.
Save the form record before testing the data macro
Use this first when an edit appears in the form but may not yet have been committed to the linked table.
Open the front-end form, navigate to an existing record, and change a field bound to the linked table.
Use Home > Records > Save Record, press Shift+Enter, or move to another record to save the form edit.
Open the relevant back-end table or check the macro's persistent output to see whether the expected change occurred after the record was saved.
Verify the linked table and test with persistent output
Use this if saving the record does not produce the expected result, or if the macro relies on a message box.
Work with Office files in WPS Office
WPS Office is a free, lightweight alternative for everyday document, spreadsheet, and presentation work. Its familiar interface and Microsoft Office format compatibility make moving common files straightforward. It does not run or repair Access data macros.

Frequently Asked Questions
Why doesn't the data macro run as soon as I change a field in the form?
The form edit may not yet be saved to the linked table. Use Home > Records > Save Record, press Shift+Enter, or move to another record before checking the macro result.
How can I check whether the front end links to the right table?
Open External Data > Linked Table Manager in the front-end database and verify the linked table's back-end database and table.
Why doesn't my message box appear when I edit through a linked table?
A message-box action may not work reliably from a remote database. Test the macro with a supported data update or logging action and inspect the result in the back end.
Can WPS Office run my Access data macro?
No. Use Microsoft Access to troubleshoot and run Access data macros. WPS Spreadsheets can help you work with tabular data exported to a compatible spreadsheet format.




