I have a table containing data similar to this:
GRoupID JobDesc FirstName LastName
1 1 Name1 LName1
1 2 Name2 LName2
2 1 Name3 LName3
2 2 Name4 LName4
I need to use the data for creating one letter per GroupID with Mail Merge, so I need a query that would create rows grouped by GroupID.
GroupID JD1FirstName JD1LastName JD2FirstName JD2LastName
1 Name1 LName1 Name2 LName2
2 Name3 LName3 Name4 LName4
In the real table there are ten JobDesc and I need to select more than just FirstName and LastName, so the query I was trying to write become very long and complicated. Can somebody help me?
GRoupID JobDesc FirstName LastName
1 1 Name1 LName1
1 2 Name2 LName2
2 1 Name3 LName3
2 2 Name4 LName4
I need to use the data for creating one letter per GroupID with Mail Merge, so I need a query that would create rows grouped by GroupID.
GroupID JD1FirstName JD1LastName JD2FirstName JD2LastName
1 Name1 LName1 Name2 LName2
2 Name3 LName3 Name4 LName4
In the real table there are ten JobDesc and I need to select more than just FirstName and LastName, so the query I was trying to write become very long and complicated. Can somebody help me?