Code:
Dim str As String
str = "Update tbinvent " & _
"Set Markup_Out=200, " & _
"Markup_In=200, " & _
"sellingpriceout=" & Text2.Text & ", " & _
"sellingpricein=" & Text2.Text & ", " & _
"computedout=" & Text2.Text & ", " & _
"computedin=" & Text2.Text & ", " & _
"newout=" & Text2.Text & ", " & _
"newin=" & Text2.Text & _
" Where itemid=" & myid
loadcn.Execute str
help me correct my code thanks