andy_dyer
Registered User.
- Local time
- Today, 05:01
- Joined
- Jul 2, 2003
- Messages
- 806
Ok,
I've managed to use all of these independently before but when I put them together I seem to be missing something...
I have a subform (Invoice) with two fields on that are relevant...
txtInvoiceAmount and chkSent
I want to be able to on my parent form have an unbound field that totals the invoice amount where chksent = true
My current code in my textbox control source is:
What is going wrong??

I've managed to use all of these independently before but when I put them together I seem to be missing something...
I have a subform (Invoice) with two fields on that are relevant...
txtInvoiceAmount and chkSent
I want to be able to on my parent form have an unbound field that totals the invoice amount where chksent = true
My current code in my textbox control source is:
Code:
=Sum(IIf(me!Invoice.Form!chksent=True,me!Invoice.Form!txtinvoiceamount,0))
What is going wrong??
