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

DSUM Help!

Status
Not open for further replies.

Caryisms

Technical User
Oct 17, 2001
132
US
I am confused about what to insert into this expression DSUM (expr,domain[,criteria]). How do I complete this in query design view? I am trying to add across columns.

col 1 col 2 Expr
Yes Yes =2
 
DSum() is a domain aggregate function. It is normally used to sum a single column for a recordset optionally limited to specific criteria. If you want to total across a row you simply add the values in an unbound column on your query:

Sum: Col1 + Col2

You can total this as well by pressing the Sum button on the query toolbar and changing this field's Total property to Sum.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top