calculate a total based on checkbox?

B

Brook

Good Day All,

I have a checking account form that I use for my business, and I have a
yes/no checkbox, and fields Debit & Credit.

What I am doing is setting up a reconciliation form so that when the
checkbox "Reconciled" is checked a total is calculated based on my Debit &
Credit Columns.

Can anyone assist me with this?

Thanks,

Brook
 
P

Pete Dochers

I'd try a total query that calculates whatever sum you want, with
criteriaOfchecked box = yes.
 
B

Brook

Hello Pete,

I tried the following calculation in my query but am getting #Error in my
text box on my form.. . any ideas?

IIf([reconciled]=True,DSum([DrCr],"[ID] <= " & [ID]))

Thanks,

Brook
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top