TheWizardofInt
Well-known member
I want to see if a value in the field Key2 >= 11000
I use this SQL statement
"Select * from Contacts Where val(Key2)>=" & txtVal.text
txtVal is the text box that contains the value 11000
This gives me a DataType Mismatch. Any idea why?
I use this SQL statement
"Select * from Contacts Where val(Key2)>=" & txtVal.text
txtVal is the text box that contains the value 11000
This gives me a DataType Mismatch. Any idea why?