H
Herbert Chan
Hello,
I've a database, the structure of which is as follows:
Day PersonID
It means that a person with PersonID is involved in a job on a certain day.
There are usually 7 people involved in a job on each day.
I want to be able to do the following:
1. How do I get the format below:
Day PersonID1 PersonID2 PersonID3 PersonID4 PersonID5 PersonID6 PersonID7
then the next day and so forth?
2. If possible, I want to have the following format actually:
Day PersonID1 PersonID2 PersonID3 PersonID4 PersonID5 PersonID6 PersonID7
theLastDayPersonID1_is_involved_in_a_job
theLastDayPersonID2_is_involved_in_a_job
theLastDayPersonID3_is_involved_in_a_job, etc. till PersonID7, i.e., 15
fields in total on a single row
How do I do the above? I need a vba function for quesion 2, right?
Thanks
Herbert
I've a database, the structure of which is as follows:
Day PersonID
It means that a person with PersonID is involved in a job on a certain day.
There are usually 7 people involved in a job on each day.
I want to be able to do the following:
1. How do I get the format below:
Day PersonID1 PersonID2 PersonID3 PersonID4 PersonID5 PersonID6 PersonID7
then the next day and so forth?
2. If possible, I want to have the following format actually:
Day PersonID1 PersonID2 PersonID3 PersonID4 PersonID5 PersonID6 PersonID7
theLastDayPersonID1_is_involved_in_a_job
theLastDayPersonID2_is_involved_in_a_job
theLastDayPersonID3_is_involved_in_a_job, etc. till PersonID7, i.e., 15
fields in total on a single row
How do I do the above? I need a vba function for quesion 2, right?
Thanks
Herbert