Hello,
Hopefully someone can help me. I am trying to execute an SQL statement in a Microsoft Access 2016 application. I'm am trying to update a database using the "Update statement" in my SQL but I get keep getting the same error message "Two few parameters. Expected 1"
My SQL Statement is dbs.Execute "Update Location SET Comment = Eval(TxtLocation1.Text) Where ID = 1;"
I'm thought that using the eval function it would force a variable from TxtLocation1.text but it failed to do so.
What am I doing wrong
Steve
Fitzy1012@aol.com
Hopefully someone can help me. I am trying to execute an SQL statement in a Microsoft Access 2016 application. I'm am trying to update a database using the "Update statement" in my SQL but I get keep getting the same error message "Two few parameters. Expected 1"
My SQL Statement is dbs.Execute "Update Location SET Comment = Eval(TxtLocation1.Text) Where ID = 1;"
I'm thought that using the eval function it would force a variable from TxtLocation1.text but it failed to do so.
What am I doing wrong
Steve
Fitzy1012@aol.com