When you want your code to run after the saving of form data
you use the procedure Form_End.
The code is running after we add the records into the database.
If you want your code to run before adding data into the database,
you use Form_BeforeClose.
The example below shows the basic commands.