Editing a branch record involves locating the branch required, making the necessary updates, and saving the record again. The new record overwrites the old. The same constraints are enforced as in creating a record using frmBranchAdd. An addition to frmBranchAdd is that the manager’s name as well as their number is displayed on the form.
The user selects the branch to be edited from a list of branches in a combo box in the form header. The form is bound and the record source of the form references the combo box , so that when the branch is selected, the corresponding record is displayed. The navigation buttons are removed, and Save and Close buttons added using code. The manager’s name is also displayed in a read-only format.
An optional dialog can be added to the Close button to confirm save or cancel if the form is closed before the record has been saved.
at a time – if more than one record needs to be entered, the user must first return to the switchboard and re-open frmBranchAdd.