i've got code like this
naglibog.CommandText = "UPDATE ptransaction " & _
" SET Quantityt = " & mm & _
", Partial_totalt='" & jj & "'" & _
" WHERE Product_Codet =" & intProduct11_Code & "'" & "'AND soldtime = '" & stime & "'"
naglibog.ExecuteNonQuery()
libogsya.CommandText = "UPDATE sold " & _
" SET quantity = " & mm & _
", total_amount='" & jj & "'" & _
" WHERE product_code =" & intProduct11_Code & "'" & "' AND soldtime = '" & ddtime & "'"
libogsya.ExecuteNonQuery()
and the error occurs,
Syntax error (missing operator) in query expression 'Product_Codet =3''AND soldtime = '10:01 ''
how to fix this