Professional Documents
Culture Documents
Assignment # 2 - Publishers Form
Assignment # 2 - Publishers Form
Guidelines
When the form loads, the user should be able to browse through the records on publishers file using the
Publisher’s name ListBox and the navigation Buttons, without being able to accidentally changing any
data.
The Subform, displays the list of books present in the book’s table, against the publisher name or ID
selected at that particular instant.
If the user wishes to change the current record, they would click the Edit button, which would change
the form into modify mode, disabling navigation and all buttons, and opening all data fields, except the
key, for updating. The user can then edit the record and click save button to save it.
If the user wishes to add a new publisher, they would click on Add button, which creates a new empty
record, clearing the form, and changes the form into modify mode as described above.
When the user is finished and wishes to save the modified/added record, they would click the Save
button, If the record passes validation, it’ll save the record to the database and shift the form back to
browse mode: locking the inputs, enabling navigation and all buttons except Save and Cancel.
If instead the user wishes to delete any record, user can navigate to the record, that needs to be
deleted, they would click the Delete button, and that record will be removed from the table.
3. In addition, Sub form is based on a query, that shows all the information that has been
displayed in your final output form displayed above.
4. The pub_name in the form design is “unbound”
5. Make sure to add to the VBA so the sub form will load
Private Sub Form_Load()
Browse
End Sub
Hand In
Upload your database containing the form to the correct assignment folder on eConestoga.