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

Take Info from active Sub Form

Status
Not open for further replies.

yeomans

Programmer
Jul 10, 2002
6
IE
I am having a problem getting info from a sub form so I can merge it into a word doc. To get the information from the main form I use
Set frmCurrForm = Screen.ActiveForm
With frmCurrForm
strCName = .txtCName
etc...
Is there any command like this for a subform??
 
Sure....

txtvalue = forms![MainformName]![subformName]![Fieldname]

Rollie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top