CPGDeveloper
Board Regular
- Joined
- Oct 8, 2008
- Messages
- 190
Hi All ~
I'm sure there's a way to do this but can't seem to figure it out...if I query results like this:
ID/STATE
1/PA
1/NY
2/CA
2/NY
2/IL
How do I get to this:
ID/STATE1/STATE2/STATE3
1/PA/NY
2/CA/NY/IL
If I had a 3rd column in the original data that identified STATE1 or STATE2 etc, I could do it with a simple cross-tab query, but not sure how to go about that...any help would be greatly appreciated. Thanks.
I'm sure there's a way to do this but can't seem to figure it out...if I query results like this:
ID/STATE
1/PA
1/NY
2/CA
2/NY
2/IL
How do I get to this:
ID/STATE1/STATE2/STATE3
1/PA/NY
2/CA/NY/IL
If I had a 3rd column in the original data that identified STATE1 or STATE2 etc, I could do it with a simple cross-tab query, but not sure how to go about that...any help would be greatly appreciated. Thanks.