Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you reference a field on a Form Footer from a subform

Status
Not open for further replies.

richmond88

IS-IT--Management
Sep 25, 2003
32
GB
I have a field called txtSubjectsTotal in the FOOTER of a form called frmXCurricularStudentFeedback.

I am trying to add the contents of that field to another field in the footer of a subform. All I get is the total in the subform field - any help appreciated.

Thanks

Chris

 
richmond88,

Set the control source of the field in your subform to

=[Forms]![frmXCurricularStudentFeedback]![txtSubjectsTotal]

Mordja
 
How are ya richmond88 . . . .

If the subForm is on frmXCurricularStudentFeedback try in the [blue]ControlSource[/blue] of the textbox on the subform:
Code:
[blue] =Forms!frmXCurricularStudentFeedback!txtSubjectsTotal[/blue]

Calvin.gif
See Ya! . . . . . .
 
Tried all of those fellas and it just dowsnt show up.

Ill try and explain it a little better

I have a main form - which includes a dfetail line - in the footer of that form it adds one of the fields that is in the detail how I want it.

Also in the footer I have a sub form - on that subform footer I total a field from the sub form detail section.

I then want to add the 2 totals and stick the answer in the footer of the sub form.

All I get is the total of the subform and not the main form.
 
OK richmond88 . . . . .

Try:
Code:
[blue] =Forms!frmXCurricularStudentFeedback!txtSubjectsTotal + [subFormControlName][/blue]

Calvin.gif
See Ya! . . . . . .
 
As the control source of your text box, have you tried...

= Me.SubformTextboxName + Forms!frmXCurricularStudentFeedback!txtSubjectsTotal


Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top