RobinR
Robin Roelofsen
- Local time
- Today, 13:14
- Joined
- Apr 23, 2010
- Messages
- 8
I have read questions regarding similar issues on this forum, but haven't found the solution to my problem... Hope somebody can help!
I have Table1 with layout:
UserID EventID DateTime
For each user id, there will be multiple records for each date, so e.g.
10---47---2-1-2010 10:47:03
10---48---2-1-2010 12:36:38
10---52---2-1-2010 13:06:21
(Dashed are there to show you the separate fields Copy and paste works when composing but not when posting!)
I have created Table2 with the following layout:
WorkDate---UserID---Event01---DateTime01--- Event02---DateTime02---Event03---DateTime03 etc...
Event and DateTime fields run to number 20, which is a number that will never be reached.
I want to combine the records in Table1 per date per user, and put the first record's data in Event01 and DateTime01, the second record's data in Event02 and DateTime02, etcetera, so the previous three records will be in Table2 as follows:
2-1-2010---10---47---2-1-2010 10:47:03---48---2-1-2010 12:36:38---52---2-1-2010 13:06:21
Since I am a VBA novice, I haven't been able to find a way to do this, and hope you guys can help me out here.
Thanks in advance!
I have Table1 with layout:
UserID EventID DateTime
For each user id, there will be multiple records for each date, so e.g.
10---47---2-1-2010 10:47:03
10---48---2-1-2010 12:36:38
10---52---2-1-2010 13:06:21
(Dashed are there to show you the separate fields Copy and paste works when composing but not when posting!)
I have created Table2 with the following layout:
WorkDate---UserID---Event01---DateTime01--- Event02---DateTime02---Event03---DateTime03 etc...
Event and DateTime fields run to number 20, which is a number that will never be reached.
I want to combine the records in Table1 per date per user, and put the first record's data in Event01 and DateTime01, the second record's data in Event02 and DateTime02, etcetera, so the previous three records will be in Table2 as follows:
2-1-2010---10---47---2-1-2010 10:47:03---48---2-1-2010 12:36:38---52---2-1-2010 13:06:21
Since I am a VBA novice, I haven't been able to find a way to do this, and hope you guys can help me out here.
Thanks in advance!