Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21131

Syntax error in update statement

$
0
0
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 & "' "

Viewing all articles
Browse latest Browse all 21131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>