making fields in a form dependant on each other

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

Guest

How can I use the selection in one fiels combo box to determine the content
of another fields combo box in my form?
 
With a filter that refer to the value in the first combo.
In the RowSource of combo2 add a filter to combo1

Select FieldName From TableName Where FieldName = Forms![Formname]![ComboName]
=========================================
On the after update event of combo1 run the code
Me.Combo2Name.Requery

To refresh the List of combo 2
 
I've seen that article and I can't understand it. I copied and pasted the
text there and the result is not what we're looking for.

Can someone explain the code in that page?
 

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