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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referencing a subforms subform.

Status
Not open for further replies.
Joined
Dec 5, 2005
Messages
40
Location
US
On one(main) form I have a subform(sub1) with a subform(sub2) that I want to requery. Can anyone help me with referencing and requerying a subform?

DoCmd.Requery (reference to sub/subform)


 
docmd.Requery me.subformcontrol.form.subformcontrol.form
 
so I can do this...
docmd.requery me.nameOfSubForm.form.nameofSubFormssubform.form and put that on an on click event on the Main form that houses the sub and subsub form?
 
try it you'll like it

perhaps

me.subformcontrol.form.subformcontrol.form.requery
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top