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

Using a combo box to populate a subform

Status
Not open for further replies.

jcfraun

Technical User
Dec 13, 2008
51
US
My database contains a form (Form1) with one combo box (Combo0) and a subform.

The combo box datasource is a table with two fields: Criteria, CriteriaForm.
CriteriaForm is the name of the form that I would like to have populate the subform on the form.

So, restating, when the user selects a value in the combo box, I would like for the subform to be populated by the form named in the bound column of the combo box.

How do I do this?

Thanks,
Caryn
 
Using VBA? Can you give me an example of what the code would look like?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top