Subform with bound combo box problem

G

Guest

Hi All

I've created a subform with bound combo boxes. In combobox1 are choice for
performance ratings, distinguished, Competent, Adequate, etc. Based on that
selection combox2 has a list of percentages that can be selected. This form I
want to link to the main from which has emlployee information. The subform
works fine until I attach it to the main form. When I attempt to open the
main form a dialog box appears asking me to enter parameter value, Form!Bound
Combo Form!Rating.

I am not sure how to correct this problem. Your help is much needed and
appreciated. Thanks

Talib
 
G

Guest

If you refer to the ComboBox somewhere as

Forms![FormName]![ComboName]

Then when you open it from a sub form, the path to the combo changes

Forms![MainFormName]![SubFormControlName].Form![ComboName]
 
G

Guest

Thanks this makes perfer sense.
--
tm


Ofer Cohen said:
If you refer to the ComboBox somewhere as

Forms![FormName]![ComboName]

Then when you open it from a sub form, the path to the combo changes

Forms![MainFormName]![SubFormControlName].Form![ComboName]



--
Good Luck
BS"D


talibm said:
Hi All

I've created a subform with bound combo boxes. In combobox1 are choice for
performance ratings, distinguished, Competent, Adequate, etc. Based on that
selection combox2 has a list of percentages that can be selected. This form I
want to link to the main from which has emlployee information. The subform
works fine until I attach it to the main form. When I attempt to open the
main form a dialog box appears asking me to enter parameter value, Form!Bound
Combo Form!Rating.

I am not sure how to correct this problem. Your help is much needed and
appreciated. Thanks

Talib
 

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