Hello All,
I have a table that have multiple entries and I am trying to get it all on one line base off of account number.
The way the table was set up (not me) repeats the data when I run a query against it. I know I possibly can run a cross tab query that might clear this up but have a bit of trouble with it.
Here is a example how the current query is coming out.
This is what I am trying to accomplish
Any Ideas?
Thanks
CG
I have a table that have multiple entries and I am trying to get it all on one line base off of account number.
The way the table was set up (not me) repeats the data when I run a query against it. I know I possibly can run a cross tab query that might clear this up but have a bit of trouble with it.
Here is a example how the current query is coming out.
Account Number | Status | Type | Name | |
---|---|---|---|---|
123456 | Active | Car | Joe Shmo | |
123456 | Active | Car | Jane Shmo | |
123456 | Active | Car | Jim Shmo | |
654321 | Cancelled | Bus | Bob Change | |
654321 | Cancelled | Bus | Bill Change |
This is what I am trying to accomplish
Account Number | Status | Type | Name 1 | Name 2 | Name 3 | ||
---|---|---|---|---|---|---|---|
123456 | Active | Car | Joe Shmo | Jane Shmo | Jim Shmo | ||
654321 | Cancelled | Bus | Bob Change | Bill Change | |||
Any Ideas?
Thanks
CG