J
JoeA2006
Can the IIf function with HasData be used as a control source for a text box
on a form. I use the same statement on a report and it works fine.
=IIf([query1 subform].Form.HasData,[query1
subform].Form!Value,0)+IIf([query2 subform].Form.HasData,[query2
subform].Form!Value2,0).
The calculation works without the IIf statement but I need to check for
fields with no data.
on a form. I use the same statement on a report and it works fine.
=IIf([query1 subform].Form.HasData,[query1
subform].Form!Value,0)+IIf([query2 subform].Form.HasData,[query2
subform].Form!Value2,0).
The calculation works without the IIf statement but I need to check for
fields with no data.