Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Help about SQL statments error

AhmedIbrahimAhmedIbrahim Member Posts: 4
Hello, am writing this code to update a row in the database(MS Access), but it gives an error "Syntax error(missing operator) in query expression '().'" the code is

Com.CommandText = " UPDATE Customers SET Waist=("+textBox12.Text+")WHERE ClientNo = ("+ u +")";
Con.Open();
Com.ExecuteScalar();
Con.Close();

Any help plz?!!

Comments

Sign In or Register to comment.