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!

Help Building a specific expression

Status
Not open for further replies.

Setter00

Technical User
Aug 9, 2001
3
US
I'm trying to build an expression that will calculate a total for me. Basically I need to find a $ amt for all items that meet a specific requirement. I did not build this DB so I'm having several problems! The expression I've been trying to make work is " =Sum[fldCAmtFiled]where([fldCStatus])=8 ". Does anyone have an idea that may work?
 
use Dsum()

= DSum("[fldCAmtFiled]", "YourTableName", "[fldCStatus] = 8")

PaulF
 
Thank you! It works better than what I had in mind!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top