Open A Sub-Form Using A Combo Box

G

Guest

I have a main form, frmEmployee, to record employee detail, one of which is a
combo box, Position. I also have a sub-form for each position.
Is there any way of changing the sub-form in the main form to match the
position selected?

Regards
Nick
 
G

Guest

To change the sub form try

Me.[SubFormControlName].SourceObject = "SubFormName"

Using the AfterUpdate event of the ComboBox
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top