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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

To Include Count In Crosstab Query



 
 
Thread Tools Display Modes
  #1  
Old July 14th, 2009, 05:24 AM posted to microsoft.public.access
zyus
external usenet poster
 
Posts: 210
Default To Include Count In Crosstab Query

My query

TRANSFORM Sum([Tbl-SKS].NET_BAL) AS SumOfNET_BAL
SELECT [Tbl-SKS].BRNCD, Sum([Tbl-SKS].NET_BAL) AS [Total Of NET_BAL]
FROM [Tbl-SKS]
GROUP BY [Tbl-SKS].BRNCD
PIVOT [Tbl-SKS].CATDESC;

I want to include another field [ACNO] in the same table that i want to
count beside my netbal field with the rest of grouping remain the same as
above.

Thanks
  #2  
Old July 14th, 2009, 07:41 AM posted to microsoft.public.access
Tom Wickerath
external usenet poster
 
Posts: 3,914
Default To Include Count In Crosstab Query

Hi Zyus,

Try the method shown in this KB article:

How to Create a Crosstab Query with Multiple Value Fields
http://support.microsoft.com/kb/209143/


Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
__________________________________________

"zyus" wrote:

My query

TRANSFORM Sum([Tbl-SKS].NET_BAL) AS SumOfNET_BAL
SELECT [Tbl-SKS].BRNCD, Sum([Tbl-SKS].NET_BAL) AS [Total Of NET_BAL]
FROM [Tbl-SKS]
GROUP BY [Tbl-SKS].BRNCD
PIVOT [Tbl-SKS].CATDESC;

I want to include another field [ACNO] in the same table that i want to
count beside my netbal field with the rest of grouping remain the same as
above.

Thanks

 




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


All times are GMT +1. The time now is 05:20 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.