P
Pascoe via AccessMonster.com
Folks
I am trying to sum a "simple" expression in a text box on a sub form.
It is producing #Error# - any ideas what I am doing wrong, I presume
something simple and obvious, but I can't spot it.
Expression is:
=Sum(IIf([Date Paid]>=[Forms]![01 Anna Start]![2 Months Start],[Amount],0))
[Forms]![01 Anna Start]![2 Months Start] is calculated using this expression
on the main form [01 Anna Start], and is producing the right date:
=DateSerial(Year(Date()),Month(Date())-2,1)
All responses gratefully received!
Russell.
I am trying to sum a "simple" expression in a text box on a sub form.
It is producing #Error# - any ideas what I am doing wrong, I presume
something simple and obvious, but I can't spot it.
Expression is:
=Sum(IIf([Date Paid]>=[Forms]![01 Anna Start]![2 Months Start],[Amount],0))
[Forms]![01 Anna Start]![2 Months Start] is calculated using this expression
on the main form [01 Anna Start], and is producing the right date:
=DateSerial(Year(Date()),Month(Date())-2,1)
All responses gratefully received!
Russell.