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

I thought I got it.....(rreferring to controls) 1

Status
Not open for further replies.

georgp

Technical User
Mar 28, 2002
96
US
but obviously I did not.
I want to refer from one subform control to another subform control (different subform). The main form can also change.
Any help?
Happy New Year!.....
georgp
 
Hi!

Then you could try referring thru the main form with the "parent" property.

[tt]MyVar=Me.Parent!SubFormName.Form!ControlName.Value[/tt]

I've never tried it with subforms that might be placed within different main forms, as I read your post, but using the "Parent" property might resolve that too.

HTH Roy-Vidar
 
RoyVidar,
Thanks a lot for the fast response - it worked.
I hope I do not need to ask this type of questions again in 2004...
georgp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top