I have a table of all staff members. A staff member can work at more than one location. The currecnt staff table I was given contains a record for every location they work. For instance:
Name Location
Heather Office A
Heather Office B
Heather Office C
Sarah Office A
Tom Office B
Tom Office D
What I need is to to only have one record for each staff member but that record will have a column for each location. There are a possibility of 50 locations so i really didnt think I could use a crosstab.
So if I could figure out how to do this it would look like:
Name Location1 Location2 Location3 Location4
Heather Office A Office B Office C
Sarah Office A
Tom Office B Office D
Each staff member will have no more than 5 locations and no less than one location. So what I did first was created a table with the fields:
Name
Location 1
Location 2
Location 3
Location 4
Location 5
I was thinking I could then somehow append and update the locations for each staff member but this is a little beyond my expertise. Any suggestions on how I could easily do this? Help????
Name Location
Heather Office A
Heather Office B
Heather Office C
Sarah Office A
Tom Office B
Tom Office D
What I need is to to only have one record for each staff member but that record will have a column for each location. There are a possibility of 50 locations so i really didnt think I could use a crosstab.
So if I could figure out how to do this it would look like:
Name Location1 Location2 Location3 Location4
Heather Office A Office B Office C
Sarah Office A
Tom Office B Office D
Each staff member will have no more than 5 locations and no less than one location. So what I did first was created a table with the fields:
Name
Location 1
Location 2
Location 3
Location 4
Location 5
I was thinking I could then somehow append and update the locations for each staff member but this is a little beyond my expertise. Any suggestions on how I could easily do this? Help????