sql - Data type mismatch in criteria expression for Access AutoNumber -


rentreturncommand.commandtext = "update customerorder set status = '" &_ orderstatuscombobox.text & "'  cid = " & cidtextbox.text & "  , compid = " &_ compidtext.text  rentreturncommand.executenonquery() 

rentreturncommand.executenonquery() shows error.

i've looked possible solutions change this, nothing works. cid listed in access database autonumber.

i know autonumber tends cause problem type of sql involved, need query in program.

if type "fred" in textbox, error take place. 2 things validating user input , using query parameters.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -