Mike
comments in-line below...
Cudamike said:
Hi Jeff,
Well I would like to do it in Access and I have tried several different
ways
of breaking up the table since I read your last reply but I would like to
try
it if you can help point me in the right direction. Firt let me show you
what
the table information contains and maybe you can offer a suggestion.
Employee#, Fist, Mid,Last names, Date of Hire, PTO Manager, work group
This
information will not change and be repetive.
Date of Hire, Manager, Work Group may apply to a person, but these are NOT
usually attributes of a person in the same way a name or date-of-birth are.
You're claiming that once a person is hired, they are never (re-)hired into
a new work group, and their Manager never changes ... really?! Where do you
work?
The data fields that will change
will be Vacation week Start Date, Vacation Week end date, and and Single
days throughout the year that they will take off.
Why? As in "why would these 'change'?" Are you saying you have no interest
in keeping historical information about when someone was scheduled for
vacation last year? Will the HR folks in your company agree with that?
Also, if the employee isn't there, s/he isn't there. Does it matter whether
they are "vacation" days or "single" days? If is does, (see below)...
I made the Employee# the
primery key because it is a non duplicated data. Can you offer an idea
which
would be the best way to proceed, I would be greatful.
I know that I don't have a very clear picture of your situation yet, so the
following is just a very rough outline...
I suspect you could use tables like:
tblPerson
PersonID
FirstName
LastName
DOB
tlkpRole (e.g. for Managers vs. ...)
RoleID
RoleTitle
RoleDescription
trelEmployee
EmployeeID
PersonID
RoleID
FromDate
ToDate
ManagerID (this would be the PersonID of the person who is this
employee's manager)
trelVacation
VacationID
EmployeeID
StartDate
EndDate
Vacation (a yes/no field, in case you need to differentiate between
vacation and "single")
Now, how does this fit with what you are actually working with?
Regards
Jeff Boyce
Microsoft Office/Access MVP