2. Add Book
The system will allow for new books to be recorded in the system. This program allows such
details to be recorded. The Book ID is determined and displayed to the user. When valid entries have
been made for all required inputs, the details are then recorded in the database.
Screen Layout
Input Fields & Validation
1. Title
A string with a maximum length of 25 characters.May not be blank.
2. Author
A string with a maximum length of 25 characters.May not be blank.
Error Messages
1. Title must be entered
This message displays when the user has not entered a Title.
2. Author must be entered
This message displays when the user has not entered aAuthor.
Confirmation Messages
3. Edit Book
The system will allow for book to be amended in the system. This program allows such
details to be amended. The Book ID or Book title must be entered to retrieve the record the
user wishes to amend. The user then selects the recordHe/she wishes to amend. The book
fields are displayed and the user can then edit the book details. When valid entries have been
made for all required inputs, the details are then recorded in the database.
Screen Layout
Input Fields & Validation
1. Title
A string with a maximum length of 25 characters.May not be blank.
2. Author
A string with a maximum length of 25 characters.May not be blank.
Error Messages
1. Title must be entered
This message displays when the user has not entered a Title.
4. 2. Author must be entered
This message displays when the user has not entered aAuthor.
Confirmation Messages
Delete Book
The system will allow for book to be deleted in the system. This program allows such details
to be deleted. The Book ID or Book title must be entered to retrieve the record the user
wishes to amend. The user then selects the recordHe/she wishes to delete. The book fields are
displayed and the user can then delete the book record.
Screen Layout
Error Messages
1. Book is out in loan
This message displays when the user has wishes to delete a record but the record is out on loan.
Confirmation Messages
5. Book Enquiry
The system will allow to see if a specific book is in the library. The user enters a book id or title. The
user then selects a book. These details are then retrieved.
Add Member
The system will allow for new members to be recorded in the system. This program allows such
details to be recorded. The Member ID is determined and displayed to the user. When valid entries
have been made for all required inputs, the details are then recorded in the database.
Screen Layout
6. Input Fields & Validation
1. Surname
A string with a maximum length of 25 characters.May not be blank.
2. Forename
A string with a maximum length of 25 characters.May not be blank.
3. Street
A number with a maximum length of 25 characters.May notbe blank.
4. Town
A number with a maximum length of 25 characters.May notbe blank.
5. County
A number with a maximum length of 25 characters.May notbe blank.
5. Phone Number
A number with a maximum length of 10 characters.May not be blank.
Error Messages
1. Surname must be entered
7. This message displays when the user has not entered a Surname.
2. Forename must be entered
This message displays when the user has not entered a Forename.
3. Street must be entered
This message displays when the user has not entered a Street.
4. Town must be entered
This message displays when the user has not entered a Town.
5. County must be entered
This message displays when the user has not entered a County.
3. Phone must be entered
This message displays when the user has not entered a Phone.
Confirmation Messages
Add Book Loan
The system will allow for a book loan to be recorded in the system. The Loan ID is determined
and displayed to the user. The user enters in a book title and the member surname. The user then
selects the member and the details are then displayed on the screen. The user also selects the book
and the book details are also displayed on screen. Once all data is valid the loan details are recorded
in the system.
Screen Layout
8. Error Messages
1. Surname must be entered
This message displays when the user has not entered a Surname.
2. Title must be entered
This message displays when the user has not entered a Title.
Confirmation Messages
Return Book Loan
The system will allow for a book to be returned to be recorded in the system. The user enters
in both the surname and book title for the member and book in question. The user then selects
the member and the details for the member and loan are displayed. The user also selects the
book and the details for the book and the loan details are displayed on the screen. Once all
data is valid the loan details are recorded in the system.
Screen Layout
9. Error Messages
1. Surname must be entered
This message displays when the user has not entered a Surname.
2. Title must be entered
This message displays when the user has not entered a Title.
Confirmation Messages
List the overdue Books
This allows the user to list all the overdue books