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

Conditions on Combo Boxes

Status
Not open for further replies.

westcoaststyle

Programmer
Oct 15, 2001
81
US
There is most likely a very easy fix to my problem so I decided to ask you guys. :c)

Ok, I have ComboBox1 and ComboBox2

When I select a value from ComboBox1 I want to change the conditional query on ComboBox2 so that it only displays certain values.

What do I need to do?

Thanks!!!
 

HI

1: Go to the query sourcing combo box 2
2: include the field that is going to act as your filter
from comboBox1
3: in this field in the criteria put Forms!frmname!combobox1
(each substituted for the real name of course)

on you form

on the after update of your combobox1 type
me.combobox2.requery
me.refresh

this should give you the desired result

regards

jo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top