However, i am getting "Type mismatch" error...
I noticed Me.Combo1 is showing the value without the double quote (").
For example, combo1 value=1, it's showing just 1 instead of "1" in the
runtime mode.
if i replace combo1 with text1 (a new text box) and put in 1, it would
display as "1" in the runtime and SQL would work.
anyone has any ideas what's wrong?!
Appreciate any input and help!
In VBA, the string concatenator is "&", not "+".
Are you really sure you have a table named "ChipID" with a column
named "ChipID"? That's highly unusual and NOT recommended - if it is
even legal.
What is the RowSource of your first combobox? Me.Combo1 will retrieve
the bound value. To check what it is, when you have the form open, hit
Ctrl+G to go to the Immediate window where you can type:
?Me.Combo1
-Tom.
Microsoft Access MVP