sjl
10-18-2007, 09:21 AM
Folks,
I am trying to grab a calculated variable from a subform (which is part of a data entry Form) to place it onto a Report.
I read a past posting to the Forum that said to "Set the control source of the text box on your report to =Forms!NameofForm!Nameoftxtbox, substituting your actual form name and name of text box that holds the date"
(from http://www.access-programmers.co.uk/forums/showthread.php?t=131709&highlight=grab+data+form+Report)
I have placed this in the control of a text box of my Report. It gives me the #Name? statement.
=[Forms]![fsub_NIEHS]![txtCOIdue]
**do I actually use the word "Forms" for the first parameter in the above statement?
the name of my subform (as seen in the Forms window, outside the subform), is "fsub_NIEHS"
**do I use a bound or an unbound text box?
thanks in advance,
sjl
I am trying to grab a calculated variable from a subform (which is part of a data entry Form) to place it onto a Report.
I read a past posting to the Forum that said to "Set the control source of the text box on your report to =Forms!NameofForm!Nameoftxtbox, substituting your actual form name and name of text box that holds the date"
(from http://www.access-programmers.co.uk/forums/showthread.php?t=131709&highlight=grab+data+form+Report)
I have placed this in the control of a text box of my Report. It gives me the #Name? statement.
=[Forms]![fsub_NIEHS]![txtCOIdue]
**do I actually use the word "Forms" for the first parameter in the above statement?
the name of my subform (as seen in the Forms window, outside the subform), is "fsub_NIEHS"
**do I use a bound or an unbound text box?
thanks in advance,
sjl