Save a database object by using an event procedure
- Open the event procedure for the appropriate event in the Code window.
How?
For example, to save a form by clicking a command button on a form, open the button's Click event procedure.
- Use the Save method to carry out the Save action in the procedure, setting the objecttype argument to the type of the object you want to save and the objectname argument to the name of the object.
How?
- Run the procedure.
How?
For more information about the Save action, click .