If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Update Query
i currently have a table that reads as follows:
AccountID - State - Jursidiction - Revenue 123456 - NJ - 1 - $456,256 123456 - NJ - 2 - $365,548 456789 - TX - 1 - $452,145 456789 -TX - 2 - $698,369 456789 -TX -3 - $452,874 Can a query be writen to transfer that data to a table that reads like: AccountID - State - Jurisdiction 1 - Jursidiction 2 - Jurisdiction 3 123456 - NJ - $456,256 - $365,548 456789 - TX - $452,145 - $698,369 - $452,874 So I am essentially looking to take all AccountID and State pairing and make a single record out of them. Please reply with any questions, and thanks in advance for your help. |
#2
|
|||
|
|||
Hi,
Try to use the Crosstab wizard in Query. That should help you. "wahamler" wrote: i currently have a table that reads as follows: AccountID - State - Jursidiction - Revenue 123456 - NJ - 1 - $456,256 123456 - NJ - 2 - $365,548 456789 - TX - 1 - $452,145 456789 -TX - 2 - $698,369 456789 -TX -3 - $452,874 Can a query be writen to transfer that data to a table that reads like: AccountID - State - Jurisdiction 1 - Jursidiction 2 - Jurisdiction 3 123456 - NJ - $456,256 - $365,548 456789 - TX - $452,145 - $698,369 - $452,874 So I am essentially looking to take all AccountID and State pairing and make a single record out of them. Please reply with any questions, and thanks in advance for your help. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Update table from Result of Query | JoeCL | Running & Setting Up Queries | 5 | October 4th, 2004 12:30 AM |
Update table from Totals query | Brian T. | Running & Setting Up Queries | 1 | September 14th, 2004 12:58 AM |
Taher | Setting Up & Running Reports | 1 | August 31st, 2004 09:07 PM | |
Update another table with a Max record query | Ngan | Running & Setting Up Queries | 2 | June 22nd, 2004 05:01 PM |
Update Query Problem | Casa | General Discussion | 1 | June 14th, 2004 04:17 PM |