Vous êtes sur la page 1sur 3

Microsoft Access Assignment

(due date: Sunday, October 17th, at 11:00 AM)

Don't e-mail until you have finished PART 2

Microsoft Access Assignment (PART 1)

1. Start Microsoft Access


2. Save Database as YourLastName_YourLast4SSN (For Example, my
Database would be named GUDIGANTALA_5525) (5 points)
3. Consider the following list of relations of a video rental store:

CUSTOMER (SSN, Lastname, Firstname, Address, City, State, Zipcode,


Phone)
RENTS (SSN, ISBN, Duedate)
MOVIE (ISBN, Title)
HAS (ISBN, ActorID)
ACTOR (ActorID, ActorLast, ActorFirst)

NOTE sizes of each field:


SSN - 20
Lastname - 20
Firstname - 20
Address - 50
City - 10
State - 2
Zipcode - 5
Phone - 15
Duedate - (ShortDate Format, Input Mask)
ISBN - 3
Title - 20
ActorID - 3
ActorLast - 10
ActorFirst - 10

4. Create an Access database containing tables CUSTOMER, RENTS,


MOVIE, ACTOR and HAS using the attributes shown in the list of
relations and establish Primary Keys for each table. The first record in the
CUSTOMER Table must contain your First name, Last name and your
Social Security Number (the rest of the information does not need to be
correct)
Make sure that the Design of your Tables include:
SSN = Field size 20, Input Mask
Phone = Field size 15, Input Mask
Duedate = Format Short Date, Input Mask Short Date

***** NOTE! 3 and 4 together are worth 40 points. All 40 points will be
deducted if the fields on part 3 don't contain the precise sizes)

5. Enter Data into the tables as shown in class. You are free to choose your
own data. Just keep it clean.
A). You need to enter at least 20 customers, at least 20 actors and at
least 20 movies.
B). At least 10 of the movies need to be rented
C) Duedate on your tables should be either 12/12/2002 for overdue or
12/12/2009 for not overdue)
D). You should be the first customer on your customer table showing
the last 4 digits of your SSN, and starting with 100. For example my SSN
would be 100-58-9898

(20 points).

***** NOTE! all 20 points will be deducted if these due dates are not
entered.

Don't e-mail until you have finished PART 2

Microsoft Access Assignment (PART 2)

6. Create Relationships among the tables Enforcing Referential Integrity (10


points).

7. Query #1: Create a Query using QBE called "Find Actor" where the movie
title and the actor's last name and first name are used. The user should
be able to run the query and have a window pop up asking for the Actor's
Last name. As the user enters the Actor's Last name, the output of the
Query should be all the Actor's Last name entered and all the movies that
particular actor is in. The actor used to grade this Query is "Decaprio" so
make sure that you have movies with this actor (5 points)

8. Query #2: Create a Query using QBE called "Overdue Movies" where the
Customer's last name and first name are used along with the due date and
movie title. The criteria for an overdue movie should be due before
03/01/2005. The user should just click on your "Overdue Movies" query
and get the result of all movies that are overdue (5 points).

9. Query #3: Create a Query using QBE called "Renting Customer" where the
Customer's last name and first name are used along with the due date and
movie title. The user should just click on this Query and get the result of
all customers last and first names who are currently renting a movie along
with due dates and movie titles (5 points).

10. Form #1: Create a Form using the Access Form Wizard in a Columnar
Layout using a Standard Style for Query #1 (5 points).

11. Form #2: Create a Form using the Access Form Wizard in a Columnar
Layout using an International Style for Query #2 (5 points).

E-Mail Rules for the Access Assignment


1. In the Subject of your email enter "AHW" (one word without any
spaces in between).
2. Make sure your Database does not exceed 1.5 Megabytes
3. When you are finished with the Word and Power point assignments, send
the files to your email, and to my email ids. My emails are
4. naveen.gudigantala@ttu.edu and naveen.gudigantala@gmail.com .
To be precise, these email ids are spelled as, naveen dot gudigantala
at ttu dot edu & naveen dot gudigantala at gmail dot com. Please send
to both my ids. Assignment is due on October 17th, 2006 by 11:00
am. You are responsible to keep a trace of the transaction and in the
event of your email not reaching me; I have to look at your sent box or
the email that you sent to yourself for the date and time to decide on
your grade.
5. *****IMPORTANT***** If you e-mail the assignment to yourself or if
you save it to your sent items folder, you will not be able to open it and
you will see a warning saying that your file might contain a virus.
DON'T FREAK OUT. Many hackers use ".mdb" files to spread viruses
and e-mail clients do not allow users to see ".mdb" files. Don't worry,
I'll be able to open it. Just make sure that you have attached the file
and have e-mailed it to my e-mail (my correct e-mail, that is).

Vous aimerez peut-être aussi