I have a table in an access database containing all long integers. Trying to retrieve the data brings up the error "data type mismatch in expression". The retrieval code is as follows
Am I missing something obvious?
Code:
Dim da5 As New OleDbDataAdapter("SELECT * FROM Charges WHERE lowamount <'" & CLng(AmountBox1.Text) & "'", cn)