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

Refer to subform from another subform 1

Status
Not open for further replies.

subform

MIS
Aug 2, 2007
1
GB
I have two subforms on a form. I am trying to access subform 1 from subform 2, the code i used in subform 1 is
Set frm = Forms!frm_subform2

This gives me an error message. Anyway to access subform 2 from subform 1?
 

Use the following syntax to refer to a control on a subform.

Forms!frm_Main!frm_subform2.Form!CtrlName

Or

Me!frm_subform2.Form!CtrlName
Terry Broadbent


"The greatest obstacle to discovery is not ignorance -- it is the illusion of knowledge." - Daniel J Boorstin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top