Dsum #Name error fron control source of text box in subform footer....
Posted on 2008-10-14
I've tried using this in the control source of a text box in the subform footer, but I get the #Name error....
=DSum("[me.money received]","payments","[contract id]=" & [Forms]![contact payments]![contract Id] & " and [me.Payment type] =7")
[me.money received] - In subform
Payments - Table behind subform
[contract id] - In subform
[Form]![contract payments]![contract id] - In Master form
[me.payment type] - In subform
Idea's on what I have wrong.... Cheers