G
Guest
Hi,
I have a report using a value from a sub-report for calculation as follows:
=(Nz([Text52]))+(IIf(Child0.Report.HasData,Child0.Report.Text55,0))
This work all right.
Now I want to do the same for my form: to use the sub-form data for similar
calculations.
I wrote the following in the control source:
=(Nz([Text52]))+(IIf(Child0.Form.HasData,Child0.Form.Text55,0))
But it doesn't work. Asking me for "#Name?"
I checked the names of the fields - they look all right. What else could be
wrong here? Please help me!
I have a report using a value from a sub-report for calculation as follows:
=(Nz([Text52]))+(IIf(Child0.Report.HasData,Child0.Report.Text55,0))
This work all right.
Now I want to do the same for my form: to use the sub-form data for similar
calculations.
I wrote the following in the control source:
=(Nz([Text52]))+(IIf(Child0.Form.HasData,Child0.Form.Text55,0))
But it doesn't work. Asking me for "#Name?"
I checked the names of the fields - they look all right. What else could be
wrong here? Please help me!