Assignment 2 - LIS 558

Due Date: Mar 2, 2000. Please submit the following exercises on a 3.5" diskette. You MUST have a backup copy of your completed assignment (in case the submitted version is damaged). Compact the database prior to copying to diskette for submission.

ABSOLUTELY NO COLLABORATION WITH ANYONE. You are welcome (encouraged) to use any published materials as well as the Help feature of MS Access 97.

1. Upon graduation, you have decided to open a mail order bookstore, "Wealth of Knowledge". After creating an entity-relationship database model, you have determined that the following relational tables are required. Create the database, using appropriate data types. Be sure to use the Lookup Wizard to facilitate data entry into foreign key fields. Edit relationships, ensuring referential integrity. Use the caption property where necessary to create clear labels.

2. Create the following forms and use at least four formatting features (e.g., colour, picture, lines, fonts, etc.) to make each one attractive and easy to use (adjust spacing, etc).

Add the following records using your forms:

You've decided to initially carry books in the following categories: Novel, Sports, History, Database and Cooking.

Your first shipment of books has arrived and contains:

Your first four customers are:

The first few orders are as follows:

3. Create the following queries. Name them with the letter prefix, followed by an appropriately descriptive name.

    1. Which books do you carry that have the word "war" in the title?
    2. Which books do you carry by authors other than Plato, Rob and Shields?
    3. Which books written since 1990 have customers from Bedrock ordered?
    4. Create a query that allows the user to input a subject each time the query is run so that the appropriate books are displayed.
    5. How many books of each category do we carry within the $10 to $50 range?
    6. How many books of each category has each customer ordered in November 1999?
    7. What is the average price of fiction books by each author?
    8. What would each book cost if you were to increase the price by 5%?
    9. When were the orders for Civil Wars received?
    10. Who has ordered history books?

4. Generate the following reports. All reports (as well as forms) should have a title.

LIS 558