You need to use what you just learned, and maybe learn a little more. Complete all parts of the following exercises. Don't forget to backup your Class disk when you have completed the exercises or whenever you stop for the day and saved a document along the way.
| What you will do: | Open an existing database Add records including an attachment Delete records Edit records Sort records Filter records View subdatasheets Print selected pages Create and print Relationships Report |
Start with: Access open
The City Theater is setting up a database of information about their employees. You will make some changes and do some printing.
Employees table: Use the form Employees Form to add the records below to the table Employees. Fields that are not listed below are blank.
Typing in the wrong place: If you type data into the wrong box, you can copy and paste it to the correct text box.
Working with a Yes/No box: A Yes/No box can be clicked to check or uncheck it. If you are using the TAB key to move through the fields on the form, the box itself will not look selected but there will be a dotted line around the label for the box instead. When the Yes/No box is selected, press the spacebar to toggle the check mark on or off.
Photos: The photos are in the resource files for this unit, databases resource files
. Once attached, the photos are part of the database. An Attachment field can accept many image formats. Versions of Access before 2007 require using an OLE data type and a BMP image format.
| EmployeeNumber | 123-456-7890 | 987-654-3210 | 876-543-2109 |
|---|---|---|---|
| FirstName | Heidi | Larry | Samuel |
| LastName | Bumgardner | Foster | McKinney |
| Title | Mrs. | Mr. | Mr. |
| EmailName | heidibumgardner@citytheater.com | lfoster@citytheater.com | sammck@citytheater.com |
| HomePhone | 615-555-8899 | 615-555-7788 | |
| WorkPhone | 615-555-8889 | 615-555-8899 | 615-555-8899 |
| Extension | 21 | 19 | 18 |
| Department | Production | Production | Design |
| JobTitle | Sound Engineer | Lighting Engineer | Chief Designer |
| Supervisor? | No | No | Yes |
| SupervisorID | Fellows | Fellows | |
| LocationID | Main Theater | Main Theater | Design Studio |
| Photo | bumgardner_heidi.jpg | foster.jpg | mckinney.jpg |
Change background color: Alternate records have a printable background color. With each record printing on its own page, the background color is no longer helpful. In Form Design View, select the Detail section and change be property Alternate Back Color to Background 1 by editing the existing text or by clicking the ellipsis button and clicking on White at the top left of the palette of colors.
Filter the records to show only records where the Location is "Main Theater".
There are three records that match.
The form header shows only on the page with the first available record.
Locations table: In Datasheet view of the Locations table, sort the records in
Ascending order on Location.
Relationships:
You cannot make changes to these files and save them in the same place. Save the changed documents to your Class disk. This keeps the original resource files intact in case you need to start over or another student will be using this same computer.