Docsity

Database Project - Advanced Computer Applications | CIS 250, Study Guides, Projects, Research of Computer Science

Toggle sidebar
bg1
Database Project CIS 250 โ€“ Summer, 2007
Due Date:
You have been retained as a consultant to design a database for a local health and fitness club.
The database is to track the classes that are offered, the customers that register to attend, and
the classes that they register for. You must use the attached dataset and this database design
for your project.
Reminder: This is an individual project assignment. There is to be ABSOLUTELY no file
sharing in any form for this assignment. The misconduct policy will be STRICKLY enforced!
Requirements for this database:
1) Tables are to be constructed as follows:
a. CLASSES
1. ClassID โ€“ primary key, text, field size 5
2. ClassName โ€“ text, field size 25
3. HourlyPrice โ€“ currency
4. Level โ€“ text, field size 15, use lookup to build list (Beginner, Intermediate,
Advanced)
b. CUSTOMERS
1. CustomerID โ€“ primary key, autonumber
2. FirstName โ€“ text, field size 25
3. LastName โ€“ text, field size 25
4. Address โ€“ text, field size 50
5. City โ€“ text, field size 25
6. State โ€“ text, field size 2; force uppercase
7. ZipCode โ€“ text, field size 15; use zip code input mask
8. PhoneNumber โ€“ text field size 15; use proper phone input mask
9. Member โ€“ yes/no value
10. EmailAddress โ€“ text, field size 50
c. REGISTRATION
1. RegID โ€“ primary key, autonumber
2. CustomerID โ€“ number, foreign key
3. ClassID โ€“ text, field size 5, foreign key
4. Hours โ€“ numeric
5. PaymentAmount - currency
6. RegDate โ€“ date/time; use short date format
2) In addition to the information in the attached dataset, enter a CUSTOMERS record containing
your personal information.
3) Referential Integrity must be enforced between relationships (foreign keys to primary keys).
Data entry for foreign key information for CustomerID must be constrained by combo box on
data entry forms. The CUSTOMER last name must be displayed on the form โ€“ not the
CustomerID. (Note: display both last name and first name in the drop-down list box.)
4) Create a lookup list for the Level field in the CLASSES table; this should be displayed on the
form as a drop-down list box.
5) Forms: Forms should be well-formatted, including a title (label) and all required elements
below. Use the same style for each form to provide a consistent interface. Include your
name in the upper right-hand corner of the form in a label titled โ€œCreated by: your nameโ€.
a. One Data Entry Form for each table with buttons to add a record, modify (save) a
record, find a specific record, and close the form.
b. A Reports Form to act as a menu with buttons to display a preview of each of the
required reports and a button to close the form. (If you include bonus reports, you
must include these as well on this menu.)
CIS 250 โ€“ Su05 Page 1 of 5
pf3
pf4
pf5

Partial preview of the text

Download Database Project - Advanced Computer Applications | CIS 250 and more Study Guides, Projects, Research Computer Science in PDF only on Docsity!

Database Project CIS 250 โ€“ Summer, 2007

Due Date:

You have been retained as a consultant to design a database for a local health and fitness club.

The database is to track the classes that are offered, the customers that register to attend, and

the classes that they register for. You must use the attached dataset and this database design

for your project.

Reminder : This is an individual project assignment. There is to be ABSOLUTELY no file

sharing in any form for this assignment. The misconduct policy will be STRICKLY enforced!

Requirements for this database:

1) Tables are to be constructed as follows:

a. CLASSES

1. ClassID โ€“ primary key, text, field size 5

2. ClassName โ€“ text, field size 25

3. HourlyPrice โ€“ currency

4. Level โ€“ text, field size 15, use lookup to build list (Beginner, Intermediate,

Advanced)

b. CUSTOMERS

1. CustomerID โ€“ primary key, autonumber

2. FirstName โ€“ text, field size 25

3. LastName โ€“ text, field size 25

4. Address โ€“ text, field size 50

5. City โ€“ text, field size 25

6. State โ€“ text, field size 2; force uppercase

7. ZipCode โ€“ text, field size 15; use zip code input mask

8. PhoneNumber โ€“ text field size 15; use proper phone input mask

9. Member โ€“ yes/no value

10. EmailAddress โ€“ text, field size 50

c. REGISTRATION

1. RegID โ€“ primary key, autonumber

2. CustomerID โ€“ number, foreign key

3. ClassID โ€“ text, field size 5, foreign key

4. Hours โ€“ numeric

5. PaymentAmount - currency

6. RegDate โ€“ date/time; use short date format

2) In addition to the information in the attached dataset, enter a CUSTOMERS record containing

your personal information.

3) Referential Integrity must be enforced between relationships (foreign keys to primary keys).

Data entry for foreign key information for CustomerID must be constrained by combo box on

data entry forms. The CUSTOMER last name must be displayed on the form โ€“ not the

CustomerID. (Note: display both last name and first name in the drop-down list box.)

4) Create a lookup list for the Level field in the CLASSES table; this should be displayed on the

form as a drop-down list box.

5) Forms: Forms should be well-formatted, including a title (label) and all required elements

below. Use the same style for each form to provide a consistent interface. Include your

name in the upper right-hand corner of the form in a label titled โ€œCreated by: your name โ€.

a. One Data Entry Form for each table with buttons to add a record, modify (save) a

record, find a specific record, and close the form.

b. A Reports Form to act as a menu with buttons to display a preview of each of the

required reports and a button to close the form. (If you include bonus reports, you

must include these as well on this menu.)

c. A Main Form to act as a menu for your database with buttons to open each Data Entry

Form, the Reports Form, and a button to exit the database (close Access โ€“ not close

the form).

6) Reports: Reports should be well-formatted displaying the entire part of the fields that are

listed. Include your name in the upper right-hand corner in a label titled โ€œCreated by: your

name โ€. Use the same style for each report to provide consistency.

a. Master Customer Report: list of all customers grouped by zip code, in last name, first

name order; include full address, phone, member field, and email address

b. Classes Report: list of all classes in level then class name order including class ID and

hourly price.

c. Registration Summary Report: list of all classes registered for, grouped by Class

Name, displaying hourly price, then sorted by customers by last name, first name

order, number of hours purchased, and payment amount. Include a grouping and

report total summary for total number of hours purchased and total payment amount.

d. Members Report: list of all customers that are members of the fitness center, grouped

by city, in last name, first name order. Also list their phone number, and email

address. Omit the member indicator field from the report.

7) Bonus: (max 10 pts) - Note: see additional requirements under Reports Form above.

a. Mailing List Parameter Query: Create a parameter query that requests a City, then list

all persons in our database from that city; include their full mailing address. Use the

Report Wizard to create a report based on that query.

b. Class Registration Parameter Query: Create a parameter query that requests Class

Name then list all persons registered for that class, in last name, first name order.

Use the Report Wizard to create a report based on that query; number of hours paid

by each client and the registration date should also be displayed on the detail listing.

c. Create a query that displays all classes without matching registrations. Include the

ClassID, ClassName, HourlyPrice, and Level. Use the Report Wizard to create a

report based on that query.

You must submit an electronic copy of your database on disk (labeled with your name, student

number, and course and section; enclosed in a clasp envelope). Prepare a word-processed

cover page with your name, student number, course and section number, submission date,

instructor name, and a list of any bonus reports you are submitting. Also, include a printed copy

of each report (titled appropriately) and printed copies of each table. If you submit bonus reports,

you must include printouts of your additional reports. Do not include printed copies of your forms.

Include a copy of this checklist. Remember to refer back to the โ€œInstructions for Submitting

Projects & Labsโ€ document distributed the first day of class and posted on the course website.

Points will be deducted for any projects that are missing printed copy, disk copy, or do not have

properly labeled disks in an 8 ยฝ x 11 clasp envelope. Pocket folders that do not have disk

pockets are not acceptable. Projects are due at the beginning of class. Late projects will not be

accepted. Early projects will.

Customers

CustomerID FirstName LastName Address City State ZipCode Phone Member Email address 12 YOUR Name Yes

Database Project Checklist โ€“ Summer, 2007

Name: _______________________________________ Grade: ____________

Tables, with correct fields as given (10 points each)

___________ Classes

___________ Customers

___________ Registration

___________ Referential Integrity Enforced between Tables (10 points)

___________ Drop Down List Boxes for Foreign Key Data Entry and Classes Level on Form

(10 pts)

Forms, with appropriate buttons added (6 points each)

___________ Classes

___________ Customers

___________ Registration

___________ Report Menu

___________ Opening Menu

Reports, using queries if necessary (5 points each) ( see project details for list of required fields)

__________ Master Customer Report

__________ Classes Report

__________ Registration Summary Report

__________ Members Report

Bonus (up to 10 points max)

___________ Additional Reports