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

Getting data from sub-forms

Status
Not open for further replies.

RSfromCO

Programmer
May 3, 2002
149
US
I have a Main form(1), which has a Sub-form(2), which has a Sub-form(3).

When I press a button on the Main Form (1), I want the code for that button to get a value from a checkbox control on Sub-Form(3).

Is this possible?

Something like ....

theCheckboxValue = Me.Subform1.Subform2.chkBox1




 
Never mind. Found it.....

Forms![main form name]![subform control name].Form![nested subform control name].Form![control name]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top