Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / September 2005

Tip: Looking for answers? Try searching our database.

Sum in a Crosstab query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Regi - 28 Sep 2005 13:20 GMT
I created a crosstab query. When I did that I got columns of data that were
created by the crosstab query. They are called 11, 12, 30 and 40 through 49.
I'd like to get a sum of the data in the rows of columns 40 through 49.
However, when I try doing a sum expression I keep getting the data from all
of those columns. How can I just get a sum of the rows of columns I need.
Thanks.  
KARL DEWEY - 28 Sep 2005 15:46 GMT
Open the query in design view.   Revise the Totals like this --
Totals xxx xx: Sum(Iif([YourColumnHeadingField] Between 40 and 49,
([YourColumnHeadingField], 0))

> I created a crosstab query. When I did that I got columns of data that were
> created by the crosstab query. They are called 11, 12, 30 and 40 through 49.
> I'd like to get a sum of the data in the rows of columns 40 through 49.
> However, when I try doing a sum expression I keep getting the data from all
> of those columns. How can I just get a sum of the rows of columns I need.
> Thanks.  
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.