Hey guys could anyone tell me whats worng with my sql startement... cause access keep telling me "Syntax Error in UPDATE statement" and i just can't find where my errors are... here's my code:
sql = "UPDATE var_coupon SET face_value_var = " & outs_reoptxtvar.Value & ",coupon_var=" & reop_coup_var.Value & " ,where (([var_coupon].[series_var]) like '*" & strface & "*')"
dbs_var.Execute sql, dbFailOnError
and here's the explanation of my code
var_coupon = table
face_value_var = field from var_coupon
coupon_var = field from var_coupon
series_var = field from var_coupon
outs_reoptxtvar = textbox
reop_coup_var= textbox
Thx
sql = "UPDATE var_coupon SET face_value_var = " & outs_reoptxtvar.Value & ",coupon_var=" & reop_coup_var.Value & " ,where (([var_coupon].[series_var]) like '*" & strface & "*')"
dbs_var.Execute sql, dbFailOnError
and here's the explanation of my code
var_coupon = table
face_value_var = field from var_coupon
coupon_var = field from var_coupon
series_var = field from var_coupon
outs_reoptxtvar = textbox
reop_coup_var= textbox
Thx