Document Navigator For The Design Index
Previous Section
(Summary)
This Section
(Book Administration)
Next Section
(Customer Administration)
Previous (View A Book) Modify A Book Next (View Book Copy)

 


Modify a Book                                   

 

Inputs                                   
     
Title
A string with a maximum length of 150 characters. Each title does not have to be unique.
Author
A string with a maximum length of 120 characters. The typical format of each author's name is as follows:

lastname, firstname givenname(s)

and if there are more than one author, the authors' will simply be entered in sequence. The authors' names do not need to be unique.

Publisher
A string with a maximum of 150 characters. Each publisher does not have to be unique.
Subject
A string with a maximum of 100 characters. The subject field contains subject key word(s) that are used to desribe the subject category of the book. If more than one key word is entered, they should be, but is not necessary to be, unique between them. Subject keyword(s) between books do not need to be unique.
Book Category
A pull-down menu containing the choices:

{overnight, two week, reserved} Only one of the three choices can be selected. This list will be expandible.

Media Type
A pull-down menu containing the choices:

{Book, CD, CD-ROM, Film, Laserdisk, Journal} Only one of the three choices can be selected. This list will be expandable.

Cost
A dollar figure representing the value of the book. Assumed to be either in American or Canadian funds.
Version (optional)
A decimal number of the form DDD, where the D represents a digit from 0 - 9. Thus, the version is a number from 0 - 999. This number is not mandatory.
Edition (optional)
A decimal number of the form DDD, where the D represents a digit from 0 - 9. Thus, the edition is a number from 0 - 999. This number is not mandatory.
     (Note: ISBN # was already entered as an input from previous module - View a Book)

 

Outputs                                   
     Upon acceptance and verification of the book data the book information will be modified and saved to the database.
     If an unrecoverable error (such as read write errors to the databse) occurs the module will output the error code to the error handling module.

 

Imports                                   
     none

 

Error conditions                                   
     Syntax error on input to the cost field.
     Input missing from field.

 

Description                                   
     
Modify Book Window
This window contains text entry fields for: title of book, author(s), publisher, and subject. There are numeric entry fields for cost of book, version, and edition. There are pull down menus for book category and media type. The cost field requires a dollar figure to be entered.

Buttons Present: MODIFY, SAVE, QUIT

MODIFY
Once selected, the system will allow the user to implement modifications to the appropriate fields of a book.
SAVE
Once selected, the system will attempt to update and save the (current) book information that may have been modified. If there are any format errors in the information fields, a message box will pop up and display a message with a list of each field that was incorrectly entered/modified.

NOTE: The 'SAVE' button will not work if the user is not currently in modification mode. (i.e. 'MODIFY' button must have been pressed)

Buttons Present: OK

Selecting 'OK' will close the message box.

Once all of the fields are error free, the system will update and save the book information.

QUIT
If selected, any data changed/entered into any of the fields will be lost, the book information will not be updated to the database, and the window will be closed.

 

Walkthrough                                   
     The user clicks on the 'MODIFY' button, thus allowing the user to edit/modify book information. The user then can modify the appropriate data of the data fields and press the 'SAVE' button. If there is an error in one or more of the fields these errors are displayed in an error window once the 'SAVE' button has been pressed. Once all errors are corrected (if there were any), the 'SAVE' button is pressed once again to save/update any changes made of the book information into the database. If at any time the user wishes to leave, clicking on the QUIT button will abort the modification of book information.

 


Document Navigator For The Design Index
Previous Section
(Summary)
This Section
(Book Administration)
Next Section
(Customer Administration)
Previous (View A Book) Modify A Book Next (View Book Copy)

Copyright ©1997 VoidWorks Software Inc.

Send mail to the Group Leader or the Webmaster
Pages created and maintained with Mortar