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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Sum in a field with duplicate records

Status
Not open for further replies.

KrazyKT

Programmer
Jul 5, 2000
26
0
0
US
I am trying to create a text box with a calculation format. I want to sum the field excluding the duplicate quantities. Is there a way in doing this instead of just using =Sum([Quantity]). This will give me a sum that has the duplicate quantities in it.
Thanks,

KT
 
Create a query with the unique records. Do the math (on the query w/ unique records). Or, create a second query which does the sum (Aggregate query) which selects only the unique records.


MichaelRed
mred@duvallgroup.com
There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top