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

running SUM in query - HELP!

Status
Not open for further replies.

chutcheson

IS-IT--Management
Dec 17, 2002
49
0
0
US
We want to create a running sum over a group and are not sure if we have the criteria correct. Anyone have any ideas?

The groups are identified in the field tps cat.

CODE:
Total percent: DSum("[Summary Log cost info 4]![percent]","[Summary Log cost info 4]","[Tons per stems] > .5")

 
Your DSum() is written to return the exact same value for each record in your query. I would expect to see a where clause that references a field in your query.

Maybe you should tell us about your table(s) and desired display.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top