Sie sind auf Seite 1von 4

School of Business & Economics

900 McGill Road, P. O. Box 3010, Kamloops,


B.C. Canada V2C 5N3
Management Information Systems II (3, 0, 2)
BBUS 238-Section 01 (3 credits)
Summer 2006

Instructor: Craig MacAlister Assignment: Exercise 2 – Data Tables

Office: OM 1273 Phone/Voice Mail: (250) 376-1900


Email: binnderchip@hotmail.com

ASSIGNMENT DIRECTIONS:

1. Create a new Microsoft Access file with the name Payroll.


2. Create the following tables, setting the indicated property values where stated and ensuring
that Descriptions are created for all fields;

Field Name Data Type Properties


SINumber Text Field Size - 11
WeekEnding Date/Time Format – Medium Date
Sunday Number Field Size - Single
Monday Number Field Size - Single
Tuesday Number Field Size - Single
Wednesday Number Field Size - Single
Thursday Number Field Size - Single
Friday Number Field Size - Single
Saturday Number Field Size - Single

C. MacAlister Summer 2006 1 of 4


Management Information Systems II – BBUS 238

Field Name Data Type Properties


Department Text
OfficeAreaCode Text Field Size - 3
OfficePhone Text Field Size - 8
OfficeAddress Text
OfficeCity Text
OfficeProvince Text Field Size - 2
OfficePostalCode Text Field Size - 7

Field Name Data Type Properties


SINumber Text Field Size - 11
LastName Text Caption – Last Name
FirstName Text Caption – First Name
Address Text
City Text Default Value - “Kamloops”
Province Text Default Value - “BC”
PostalCode Text
AreaCode Text
Phone Text
Birthdate Date/Time Format – Medium Date
Gender Text
Dependants Number Field Size - Byte
UnionPosition Yes/No
HourlyRate Currency Default Value – 13.55
HoursPerWeek Number Field Size - Single
Department Text
Remarks Memo

3. Set the Primary Key of tblStaff to the SINumber field, tblDepartments to the Department
field, and tblTimecard to a combination of the SINumber and WeekEnding fields.
4. Set any other Properties necessary to ensure the efficiency of the database, including Field
Size, Captions or Default Values.

C. MacAlister Summer 2006 2 of 4


Management Information Systems II – BBUS 238

5. Open each of the tables in Datasheet View and input the following records into the correct
tables and fields (tblTimecard records are for week ending August 19, 2005);

Field Record 1 Record 2 Record 3 Record 4


SINumber 705 183 645 715 450 825 714 538 297 701 842 937
LastName Smythe Black Brown Johnston
FirstName George Kevin Wayne Grace
Address PO Box 338 3434 Victoria Dr Box 272 555 Martyn St
City Monte Lake Cache Creek Kamloops Kamloops
Province BC BC BC BC
PostalCode V0E 2R0 V0K 1H0 V2E 1K6 V2C 4F8
AreaCode 250 250 250 250
Phone 572-1923 457-2114 828-3566 374-1745
Birthdate Jul 14/53 Jan 15/56 Jun 27/79 Oct 22/49
Gender Male Male Male Female
Dependants 2 2 0 0
UnionPosition Yes No No Yes
HourlyRate 14.35 18.55 13.55 22.75
HoursPerWeek 35 40 30 30
Department General Office Service Service Accounting
Remarks Medical
Difficulties

Field Record 1 Record 2 Record 3 Record 4


Department Accounting Management General Office Service
OfficeAreaCode 250 250 250 250
OfficePhone 828-1635 828-1633 828-1600 828-1639
OfficeAddress 3-233 Uptown Dr 4-233 Uptown Dr 1-233 Uptown Dr 683 Industry Way
OfficeCity Kamloops Kamloops Kamloops Kamloops
OfficeProvince BC BC BC BC
OfficePostalCode V2C 1X4 V2C 1X4 V2C 1X4 V2H 5M3

C. MacAlister Summer 2006 3 of 4


Management Information Systems II – BBUS 238

SINumber Sun Mon Tue Wed Thu Fri Sat


604 123 912 2.0 8.0 8.0 8.0 8.0 8.0 0.0
608 472 531 0.0 6.0 6.0 6.0 6.0 6.0 0.0
630 315 883 0.0 6.0 6.0 6.0 8.0 6.0 4.0
632 579 822 0.0 6.0 6.0 6.0 6.0 6.0 0.0
701 262 423 0.0 7.0 7.0 7.0 7.0 7.0 0.0
701 842 937 0.0 6.0 6.0 6.0 6.0 6.0 0.0
705 183 645 0.0 7.0 7.0 7.0 7.0 7.0 0.0
705 471 714 0.0 6.0 6.0 6.0 6.0 6.0 0.0
707 642 482 2.0 7.0 7.0 7.0 5.0 7.0 0.0
711 158 297 2.0 6.0 6.0 6.0 6.0 4.0 0.0
712 789 432 0.0 6.0 6.0 6.0 8.0 6.0 0.0
713 530 825 2.0 8.0 8.0 8.0 8.0 8.0 0.0
714 538 297 4.0 8.0 0.0 6.0 6.0 6.0 0.0
715 450 825 0.0 0.0 8.0 8.0 8.0 8.0 8.0
722 647 921 0.0 6.0 6.0 6.0 6.0 6.0 0.0
723 242 937 0.0 6.0 6.0 6.0 6.0 6.0 0.0
734 585 111 2.0 6.0 6.0 6.0 6.0 6.0 0.0
746 489 432 0.0 6.0 6.0 6.0 6.0 6.0 0.0
801 915 806 0.0 6.0 6.0 6.0 6.0 6.0 0.0
802 195 167 0.0 0.0 6.0 6.0 6.0 2.0 0.0
803 928 711 0.0 5.0 5.0 5.0 5.0 5.0 0.0

6. Test the filtering and sorting features of Microsoft Access.

C. MacAlister Summer 2006 4 of 4

Das könnte Ihnen auch gefallen