Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding all #s in a field 1

Status
Not open for further replies.

SpyPnch

Technical User
Mar 13, 2008
7
US
I am trying to do a simple query that just adds up all the numbers in a field and returns a total. Access keeps trying to group these numbers by rows so I cant figure out how to just get the total on one line
 
Something like:
Code:
SELECT SUM(YourField) 
FROM YourTable
Hope this helps

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top