I have a table that contains the following information
Table 1
IDNUm Msg MSg_Type
1zzz test1 A
1zzz test2 B
1fff test1 A
1fff test3 A
2hhh test1 C
2hhh test2 C
I would like to write a query that will allow me to loop through table 1 and insert
the value into table 2 using the format listed below. I am very desperate need of this solution and I am also coding with VBA. Thank you in advance for any help or suggestion.
Table 2
IDNUM MSG1 MSG2 MSG_type1 MSG_Type2
1zzz test1 test2 A B
1fff test1 test3 A A
2hhh test1 test2 C C
Table 1
IDNUm Msg MSg_Type
1zzz test1 A
1zzz test2 B
1fff test1 A
1fff test3 A
2hhh test1 C
2hhh test2 C
I would like to write a query that will allow me to loop through table 1 and insert
the value into table 2 using the format listed below. I am very desperate need of this solution and I am also coding with VBA. Thank you in advance for any help or suggestion.
Table 2
IDNUM MSG1 MSG2 MSG_type1 MSG_Type2
1zzz test1 test2 A B
1fff test1 test3 A A
2hhh test1 test2 C C