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

Call a Form from another Form

Status
Not open for further replies.

MacroAlan

Programmer
Dec 4, 2006
134
US
When I click OK on my form, I want a new form to open up and ask for more information. The new form has a comboBox and a sub-form with another comboBox.

This makes 2 problems:[ol][li]What is the syntax for calling my 'frm_DataSetCompany'[/li][li]I don't think I got the syntax right for capturing data from my sub-form:
Code:
DSN = frm_DataSetCompany.frm_Subform_DataSets.cboDSN.Value
what is the correct code?[/li][/ol]

Alan

 
docmd.openform "FormName" ,,,,

I will try my best to help others so will others do!!!!!
IGPCS
Brooklyn, NY
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top