G
Guest
OK, I have a main form based on a table call manifesttbl and a subform based
on a table called chemicaltbl. On the subform I have a calculated field which
calculates the total tons of each chemical (field name is totaltons)
=([Gallons]*0.00417+[Pounds]/2000+[Tons]+[AsbTons]*0.84), this calculation is
working fine. I then have a field (field name - totalsum) in the form footer
that calculates the sum,
=Sum([Gallons]*0.00417+[Pounds]/2000+[Tons]+[AsbTons]*0.84). This also works
fine.
Here is my problem, in the main form, I have a field in the form footer, I
have put this in the control source, =[Forms]![Chemical subform]![totalsum].
But all it says is #NAME? I cannot for the life of me figure out why. Can
anyone help?
on a table called chemicaltbl. On the subform I have a calculated field which
calculates the total tons of each chemical (field name is totaltons)
=([Gallons]*0.00417+[Pounds]/2000+[Tons]+[AsbTons]*0.84), this calculation is
working fine. I then have a field (field name - totalsum) in the form footer
that calculates the sum,
=Sum([Gallons]*0.00417+[Pounds]/2000+[Tons]+[AsbTons]*0.84). This also works
fine.
Here is my problem, in the main form, I have a field in the form footer, I
have put this in the control source, =[Forms]![Chemical subform]![totalsum].
But all it says is #NAME? I cannot for the life of me figure out why. Can
anyone help?