View Single Post
  #4  
Old May 12th, 2009, 03:55 AM posted to microsoft.public.access.tablesdbdesign
Piet Linden[_2_]
external usenet poster
 
Posts: 280
Default Staff teaches multiple programs

On May 11, 2:24*pm, Cindy wrote:
CREATE TABLE Person(
First Name,
Last Name,
Middle Name,
Address,
City,
State,
Zip, Country,
E-mail Work,
E-mail Personal,
Date of Birth,
Title (Drop down list of Coord, Admin, Instructor, Secretary),
Active/Purged (Drop down list Active, Purged),
Home Phone,
Mobile Phone,
Program Name (Drop down list of programs we have),
Term Name, Term Length, Certification/Licensure/Degree
(Drop down list: HS Diploma, Associate, Bach, Mast, PhD), College/Univ, Date
of Completion, Date License Rcvd, Type of Permit (Drop down list of Permits
used), Permit Code, Type of License (Drop down list: Post-Secondary &
Secondary), License #, Year License Expires, Date of Hire, Step, Class,
Current Pay Rate, SS#, Emergency Contact Name, Phone #1, Phone #2,
Relationship, Physican Name, Physician Phone Number, Hospital
Name.............NOW including all the above for each Staff Member, we need
to keep track of Yearly dates of Fingerprinting, Evaluations and who they
were completed by, Pay Rate as of (DATE) and (AMT), Time Sheet Hrs Wrkd by
listing of Paydays and hours wrkd for each Payday such as 4-JUL-2008 25 hrs,
18-JUL-2008 36 hrs, 1-AUG-2008 34 hrs, 15-AUG-2008 29 hrs,
etc............then we run into some staff works in more than one Program so
therefore we have multiple time sheets (per program) for the same person. *
Example: Tracy teaches computer classes to PN program, Elect program, NA
program, Diesel program. *Debi teaches CPR to all programs plus teaches NA
full time so some paydays Debi may have only one time sheet and others she
may have 3 or 4 time sheets per payday........
FYI: It has been at least 4 yrs since I have worked with Access, however, I
have picked up on creating this table, doing drop down list, calendars,
attachments, etc, on this data base I'm trying to create,,,,,just having
problems on the multiple(s).......I feel like I'm picking it up like riding a
bike....but I'm falling quite a bit.....need your help. *Actually any help
would be greatly appreciated. *Thanks, Cindy
I hope this explains what I'm trying to do. *If I need to send more let me
know.


First of all, you need to normalize. In plain English, each table
should describe ONE real world entity (or thing, like Person,
Course,... things about which you want to store multiple facts.)
Putting everything in one table is a spreadsheet. The problem you
will run into is trying to query this if you leave it as one table.

Looks a fair amount like the standard Students-Classes database.
Student (StudentID*, etc)
SectionRoster (StudentID*, SectionID*, Grade)
Section(SectionID*, CourseID, InstructorID)
Course(CourseID*, CourseTitle)

I think the first thing I would do is pare down the description of
what you're modeling to just nouns and verbs, because then you can
focus on the entities in your problem. Then model each sentence...
Each {Subject} can verbs One/Many {Object}
then switch Subject and object. If this is also true, it's a many-to-
many relationship and you need another table. ...
Normalization is a PITA, but it's critical to solid database design.
You might want to read Michael Hernandez's 'Database Design For Mere
Mortals.'.. he covers normalization extensively.