DSUM Problem

xaysana

Registered User.
Local time
Today, 20:24
Joined
Aug 31, 2006
Messages
94
Hi there,

I have a Db forms. Main form and subform which has one to many relationship. Where users use to tract the daily expenditure.

What I like to do is that to find by list in budgetcode combo box eg. RAB50, RAB51...RAB60 then show and SUM all the amountUSD in total if one code was used more than one time. I use the following code. In fact, it works fine, however, it shows all available record. Now what I want is to SUM on each single record.

=DSum("AmountUSD","tblSADUPaymentDetails","BudgetCode='RAB53'")

Any comment would appreciate.

Thank you.
 

Users who are viewing this thread

Back
Top Bottom