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

dynamically compare value against values in a query

Status
Not open for further replies.

Kyosa

Technical User
Jun 12, 2000
47
US
basically i'm trying to dynamically assign a controlsoure to a specific field based on a value selected from an unbound combo box(Combo4).
i have a query set up that contains all my invoice exceptions and i'm trying to basically check to see if the value i select in Combo4 is in the exception query. i've tried using dlookup etc but can get it to work. is there something simple i'm missing?

thanks in advance
 
I think what you need to do is:
1. get the value from the conbo box (me.cboBox.value)
2. use the FindFirst function to search for the value above in your query.

Regards.
Jerasi.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top