Hi,
This sql is placed within an asp page however im having trouble with the sql itsself. Basically I would like to divide the newsell by the base and then subtract 1 and multiple by 100.
The code so far?
SQL = "UPDATE Temp_lwlees SET MarkupRate =(" & Request("newsell") & "/" & Request("base") & " - 1 *100) WHERE " &_
"(PID='" & Request("prodid") & "')"
Can anyone help. I think its quite simple im probably missing brackets or something
Regards
Andy
This sql is placed within an asp page however im having trouble with the sql itsself. Basically I would like to divide the newsell by the base and then subtract 1 and multiple by 100.
The code so far?
SQL = "UPDATE Temp_lwlees SET MarkupRate =(" & Request("newsell") & "/" & Request("base") & " - 1 *100) WHERE " &_
"(PID='" & Request("prodid") & "')"
Can anyone help. I think its quite simple im probably missing brackets or something
Regards
Andy