Others

Automatically Email a Manager When a Microsoft Access Record Is Complete

Khadija KhanKhadija Khan Nov 14, 2026 869 views

Question details

Send a manager an email when an inspection record is saved with a qualifying result.

Automatically Email a Manager When a Microsoft Access Record Is Complete
Product
Microsoft Access
Device & OS
not provided
Scenario
An inspection form contains a result combo box, and the notification should include the saved record ID.
Observed behavior
A qualifying saved record should trigger an email containing its ID and result.
Before you start

Open the inspection form in Design View and confirm the names of the result combo box and record ID control. Make sure a compatible email client is configured, and have the manager's email address ready.

Solution 1Recommended

Send an email from the form's After Update event

Use this method when the email should be triggered after an inspection record is saved with a Pass result.

The form's After Update event runs after a new or edited record is saved. The example checks the combo box value and adds the record ID to the message.

1
Open the form event

Open the form in Design View, select the form, and open Property Sheet > Event. Set After Update to [Event Procedure], then click the build button to open the VBA editor.

2
Add the notification code

In the Form_AfterUpdate procedure, enter: If Nz(Me.cboResult.Value, "") = "Pass" Then DoCmd.SendObject acSendNoObject, , , "manager@example.com", , , "Inspection complete", "Inspection record ID: " & Me.ID & " has passed.", True End If

3
Customize and test

Replace manager@example.com with the manager's address and change cboResult and ID to match your form's controls. Save the form, open it in Form View, select Pass, and save the record. Confirm that the email opens with the correct record ID.

4
Enable automatic sending

After testing, change the final SendObject argument from True to False in the VBA editor. Save the form and test again; your email client or security settings may still display a prompt.

Send an email from the form's After Update event
Avoid repeat notifications: The form event runs after each saved edit, so a record that still has Pass selected can trigger another email. Add a notification-sent flag and check it in the code if the manager should receive only one message per record.
Free Microsoft Office alternative

Track inspection results in WPS Spreadsheets

WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for moving spreadsheet-based inspection logs. It does not replace Microsoft Access or fix its form events and email automation.

Organize inspection records and results in a spreadsheetOpen and edit Microsoft Excel XLSX filesUse a familiar interface for everyday document and spreadsheet workMove existing Office files into a lightweight workspace
QA img-9

Frequently Asked Questions

Can I send an email when the result is selected instead of when the record is saved?

Yes. In the combo box's Property Sheet > Event, set After Update to [Event Procedure] and add the result check and email code there. This event can run before the record is saved, so it is not the best choice if the notification must confirm a saved record.

How do I send notifications for Fail instead of Pass?

In the VBA condition, replace "Pass" with "Fail". The text must match the value stored by the combo box, which may differ from its displayed label.

Why does the email open without sending automatically?

The final True argument in DoCmd.SendObject opens the message for review. Change it to False after testing to request automatic sending, although the email client or security settings may still prompt you.

Why might the manager receive more than one email for a record?

The form's After Update event runs after each saved edit. If the result is still Pass, the condition remains true. Add and check a notification-sent flag if only one email should be sent per record.