PHS CyberSchool
Computer Studies SG
Modified 13 February 2006
School Supporter's Database - Maintaining the database
The Supporter's Club would like to make some changes to the database created in School Supporter's Database - Basic
and queried in School Supporter's Database -
Queries. They need to increase the size of the Description field and add
an additional index. Because several different individuals update the
data, the club also would like to add some validation rules to the
database. Finally some items must be added to the database.
Use the School Stock database for this task. Perform the following
instructions:
- Open the School Stock database and open the Item table in design view. (Use the
tip
sheets for assistance.)
- Create and save the following validation rules for the Item table.
- Make the Description field a required field.
- Ensure that any lower case letters entered in the Item Id field are
displayed as uppercase.
- Specify that the On Hand units must be between 0 and 50. Include
validation text.
- Save the changes.
- Open the Item form, and then add the following record to the item table:
| MN04 |
Mouse pad |
5 |
R9.10 |
R11.00 |
AG |
- Open the Item table in datasheet view and sort the records in ascending order by
Description. Print the table. Close the table. If you are asked to save
changes to the design of the table, click the No button.
- Create a new query for the Item table. (Use the tip
sheets for assistance.)
- Using a query, delete all records in the Item table where the Description
starts with the letter T. Save the query with a meaningful name.
(Delete query)
- Print the Item table.
- Open the Supplier table in design view, and add a new field to the end of
the table. Name the field Fax Number. This new field has the
same data type and length as Telephone Number. Save the change to
the table design.
- Open the Supplier table in datasheet view, and then add the following data
to the Fax number field.
| AG |
021 511-6615 |
| EP |
021 511-0950 |
| YourInitials |
021 Your fax number |
- Resize the Supplier Code, City, Province, Postal Code, Telephone Number
and Fax Number columns to the best size.
- Print the table. If necessary, change the margins so the table
prints on one page in landscape orientation. Save the changes to the
layout of the table.
- Join the Supplier (the one table) and Item (the many table) tables with
Referential Integrity. Print the Relationship window by
making sure the Relationships window is open, clicking File on the menu bar,
and then clicking Print Relationships.
- Save the database for future tasks.
- Consult the Access Help pages on Update queries, Delete queries,
Validation rules, Referential Integrity, Subdatasheets and Indexes.
(based on Access 2000 by Shelly, G.B., Cashman, T.J. and Pratt, P.J.
published by Course Technology in 2000 www.scsite.com
)
Return to Computer
Studies lesson plan index. This work may be freely copied for non-commercial use only.
Copyright © Pam Miller.