A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Update Query



 
 
Thread Tools Display Modes
  #1  
Old November 9th, 2004, 02:24 PM
wahamler
external usenet poster
 
Posts: n/a
Default 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  
Old November 9th, 2004, 02:44 PM
JL
external usenet poster
 
Posts: n/a
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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
Print 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


All times are GMT +1. The time now is 04:07 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.