This is driving me mad
Checked all the nameing rules, so no problem as far as I can see
I have a unbound text box call SumDel in the Forms Header
in the Control Source I have
=iif([SchemeRef]=52,Sum([Delivered]))
SchemeRef and Delivered are bound text boxes in the forms Detail section being fed from the Forms query.
This results in an #Error
I have also tried
=Sum(iif([SchemeRef]=52,[Delivered]))
=Sum(NZ(IIf([SchemeID]=52,[Delivered])))
Again same result #Error
I have also tried
=[Delivered]
=[SchemeRef]
These work they return the value in the first row
Does any one have any further ideas?
Thanks CNEILL
Checked all the nameing rules, so no problem as far as I can see
I have a unbound text box call SumDel in the Forms Header
in the Control Source I have
=iif([SchemeRef]=52,Sum([Delivered]))
SchemeRef and Delivered are bound text boxes in the forms Detail section being fed from the Forms query.
This results in an #Error
I have also tried
=Sum(iif([SchemeRef]=52,[Delivered]))
=Sum(NZ(IIf([SchemeID]=52,[Delivered])))
Again same result #Error
I have also tried
=[Delivered]
=[SchemeRef]
These work they return the value in the first row
Does any one have any further ideas?
Thanks CNEILL