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 / Queries / May 2006

Tip: Looking for answers? Try searching our database.

sum on a column of data in a query?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SLM - 26 May 2006 18:10 GMT
I have created a Select Query, I have 3 columns of data, I'm able to create
calculations on rows, but not columns???
Jeff Boyce - 26 May 2006 19:45 GMT
Have you looked into the Totals queries?  These are design to aggregate down
columns.

Regards

Jeff Boyce
Microsoft Office/Access MVP

> I have created a Select Query, I have 3 columns of data, I'm able to
> create
> calculations on rows, but not columns???
JethroUK© - 26 May 2006 21:18 GMT
I think that's the problem - aggregate functions work recordwise - not
fieldwise - i have same instance of 18 fields need adding together & apart
from [field1] + [field2] + [field3], ad nausium - there doesn't seem to be
anyway of summing a collection of fields

> Have you looked into the Totals queries?  These are design to aggregate down
> columns.
[quoted text clipped - 7 lines]
> > create
> > calculations on rows, but not columns???
Jeff Boyce - 30 May 2006 17:00 GMT
You are describing ... a spreadsheet!  A relational database
(well-normalized) doesn't use "repeating fields".  So you really wouldn't
expect to find a function in Access that gives you an easy way to "sum
across columns", since that's more a spreadsheet function...

Regards

Jeff Boyce
Microsoft Office/Access MVP

>I think that's the problem - aggregate functions work recordwise - not
> fieldwise - i have same instance of 18 fields need adding together & apart
[quoted text clipped - 13 lines]
>> > create
>> > calculations on rows, but not columns???
 
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.