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
Post a Comment