When a user closes the form, Access automatically saves the data entered in database. Thus there is no need to having a Save Button.
But, since most of the users are so habitual in pressing Save button, they will still insist that there should be a Save Button.
What code should be written for the Save button for saving all the data entered in the form.
Also care has to be taken for checking if the data has changed or not. Sometimes users will open the form to view data, then even though though they have not made any changes, they will press Save Button.
Private Sub cmdSave_Click() : Msgbox "Data Saved", vbOkOnly : End Sub:)