A
Andy
HI;
HAVE BEEN TRYING OFF AND ON FOR ABOUT A MONTH TO SUM A CONTROL IN A
SUBFORM'S FORM FOOTER, THEN REFER TO THAT CONTROL IN THE MAIN FORM AND
DISPLAY THE ANSWER.
Today I decided to get it done! Been at it for an hour and a half. Here's
what I tried:
In the subform. (sfrmProductsSold), placed a control in the "Form Footer",
also tried it in the "Page Footer", named the control: txtTotalExtended.
It's "Control Source" is: =Sum([ExtendedPrice])
Then in the main form added a control in the body of the form. It's
"Control Source" is:
=[sfrmProductsSold].Form![txtTotalExtended]
Recieved #Error.
Then tried:
=Forms!MainForm!sfrmProductsSold![txtTotalExtended]
Got either #Error or #Name. Don't remember now, but both are incorrect.
Also tried:
=Forms.MainForm.sfrmProductsSold.[txtTotalExtended]
=sfrmProductsSold.Form.[txtTotalExtended]
And a few others. Then displayed the subform in Form View. Noticed that
the control in the Sub Forms footer, txtTotalExtended, was showing #Error.
What is the cure?
Andy
HAVE BEEN TRYING OFF AND ON FOR ABOUT A MONTH TO SUM A CONTROL IN A
SUBFORM'S FORM FOOTER, THEN REFER TO THAT CONTROL IN THE MAIN FORM AND
DISPLAY THE ANSWER.
Today I decided to get it done! Been at it for an hour and a half. Here's
what I tried:
In the subform. (sfrmProductsSold), placed a control in the "Form Footer",
also tried it in the "Page Footer", named the control: txtTotalExtended.
It's "Control Source" is: =Sum([ExtendedPrice])
Then in the main form added a control in the body of the form. It's
"Control Source" is:
=[sfrmProductsSold].Form![txtTotalExtended]
Recieved #Error.
Then tried:
=Forms!MainForm!sfrmProductsSold![txtTotalExtended]
Got either #Error or #Name. Don't remember now, but both are incorrect.
Also tried:
=Forms.MainForm.sfrmProductsSold.[txtTotalExtended]
=sfrmProductsSold.Form.[txtTotalExtended]
And a few others. Then displayed the subform in Form View. Noticed that
the control in the Sub Forms footer, txtTotalExtended, was showing #Error.
What is the cure?
Andy