Access Forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form that contains a sub-form set for continuous forms. The subform
first selects a value for a specific company. The second combo box needs to
select available items from that company, and only that company. The values
are already assigned in a table but they need to be applied to the Main
record in the primary form. I am having trouble with the second box not
recognizing the value of the first and therefore not being able to querry out
the items for that specific company.
What are my options.
 
Duane said:
I have a form that contains a sub-form set for continuous forms. The
subform first selects a value for a specific company. The second
combo box needs to select available items from that company, and only
that company. The values are already assigned in a table but they
need to be applied to the Main record in the primary form. I am
having trouble with the second box not recognizing the value of the
first and therefore not being able to querry out the items for that
specific company.
What are my options.

Fix the query. Post your SQL and someone can likely tell you what is wrong with
it. My guess would be that you are referencing the other ComboBox as if it were
on an open form, but a subform is not considered an open form. The reference
has to go via the subform control on the main form.

Forms!MainFormName!SubFormControlName.Form!ComboBoxName
 

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

Back
Top