S
shaneo via AccessMonster.com
Hi there
I am trying to design a new database used to track people registering with my
company and also different company information.
I work for a recruitment agency that deals with a number of temp staff and
also deals with a number of companies that we supply the temp staff to.
I will break my question into 2 parts (1 for the temp staff & the other for
the company info)
How it will work..
A temp employee will come into sign up with the agency I work for. That
persons details with be entered into a table called tblPersonalInformation
tblPersonalInformation contains all the persons personal details
tblPersonaleInformation
PersonalInformationID
chrSurname
chrForename
etc
etc
A person may have many skills so I thought of making a seperate table (other
temps will have the same skills)
tblActualSkills
ActualSkillID
chrSkill
A person may have many different job bookings so I made a seperate table for
bookings
tblBookingInformation
BookingInformationID
chrJobTitle
curSalary
etc
etc
etc
Joining them is now where I get a little confused. This is what I was
thinking would work but it doesn't seem to work.
tblPersonaleInformation tblActualSkill
tblBookingInformation
PersonalInformationID ActualSkillID
BookingInformationID
chrSurname chrSkill
chrJobTitle
chrForename
curSalary
etc
chrCompanyName
etc
etc
etc
etc
PersonalInformationID
1. Adding the field PersonalInformationID to the tbl tblBookingInformation
and then creating a 1- Many relationship between tblPersonalInformation &
tblBookingInformation.
2. Creating a new tbl called tblPersonalSkills adding the fields
PersonalSkillsID (Primary Key)
BookingInformationID
ActualSkillID
Then creating a join between the tblPersonalSkills & tblBookingInformation &
then creating another join between tblPersonalSkills & tblActualSkills.
My reason for thinking that I need to create a new table is that lots of
bookings can share skills.
Am I going in the right direction or should I replan how to create these
relationships??
Part 2.
There will be a number of different companies so I have created a tbl for
them
tblCompanyInformation
CompanyInformationID
chrCompanyName
chrCompanyContact
chrAddress1
etc
etc
I don't know if I should bother with the next part but I was thinking that it
might be a must.
A company may employee a number of different temps.
Do I need to create a relationship now between tblBookingInformation &
tblCompanyInformation?
As the will contain something in common??
Hope someone can help out.
Thanks for taking the time to read this.
I am trying to design a new database used to track people registering with my
company and also different company information.
I work for a recruitment agency that deals with a number of temp staff and
also deals with a number of companies that we supply the temp staff to.
I will break my question into 2 parts (1 for the temp staff & the other for
the company info)
How it will work..
A temp employee will come into sign up with the agency I work for. That
persons details with be entered into a table called tblPersonalInformation
tblPersonalInformation contains all the persons personal details
tblPersonaleInformation
PersonalInformationID
chrSurname
chrForename
etc
etc
A person may have many skills so I thought of making a seperate table (other
temps will have the same skills)
tblActualSkills
ActualSkillID
chrSkill
A person may have many different job bookings so I made a seperate table for
bookings
tblBookingInformation
BookingInformationID
chrJobTitle
curSalary
etc
etc
etc
Joining them is now where I get a little confused. This is what I was
thinking would work but it doesn't seem to work.
tblPersonaleInformation tblActualSkill
tblBookingInformation
PersonalInformationID ActualSkillID
BookingInformationID
chrSurname chrSkill
chrJobTitle
chrForename
curSalary
etc
chrCompanyName
etc
etc
etc
etc
PersonalInformationID
1. Adding the field PersonalInformationID to the tbl tblBookingInformation
and then creating a 1- Many relationship between tblPersonalInformation &
tblBookingInformation.
2. Creating a new tbl called tblPersonalSkills adding the fields
PersonalSkillsID (Primary Key)
BookingInformationID
ActualSkillID
Then creating a join between the tblPersonalSkills & tblBookingInformation &
then creating another join between tblPersonalSkills & tblActualSkills.
My reason for thinking that I need to create a new table is that lots of
bookings can share skills.
Am I going in the right direction or should I replan how to create these
relationships??
Part 2.
There will be a number of different companies so I have created a tbl for
them
tblCompanyInformation
CompanyInformationID
chrCompanyName
chrCompanyContact
chrAddress1
etc
etc
I don't know if I should bother with the next part but I was thinking that it
might be a must.
A company may employee a number of different temps.
Do I need to create a relationship now between tblBookingInformation &
tblCompanyInformation?
As the will contain something in common??
Hope someone can help out.
Thanks for taking the time to read this.