I have been battling with this one line of code for a long time trying to get it to work, can someone help me find what is wrong with my update statement. I have removed the trim tried this and that and it still gives me the same error, I even took the string and tried running it in ms access and its still gives me the same error. Any help?
Code:
con.Execute "update Supplier set delete=true where SupplierCode='" & TxtCode.Text & "' "