sum(iif....)

G

Guest

I just been shown how count iif and sum iff work and have promptly messed it
up. I have a main form with subform that contain contracts. The back table
are one-many clients>>contracts. Each contract can be active or inactive
(-1/0) but this status is stored in a seperate table (LU_contacts).
Tbl_Main has the clientID
Tbl_Contracts has the contract type and contract fee
LU_Contracts has whether the contract is active or not

I wanted a text box that will sum the contract fee's for active contracts
only for the client form that I'm on but don't have a clue what to put in the
control source beyond sum(iif(.....

Any help appreciated..
 

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