Forums

ASP

This topic is locked

Updating Multiple records

Posted 13 Oct 2006 02:09:44
1
has voted
13 Oct 2006 02:09:44 Jim Smith posted:
Any idea how I can add fields to this sql statement:
strSQL = "UPDATE Products SET Cost = " & CDBl(strCost) & _
" WHERE ProductID = " & strID



I tried:
strSQL = "UPDATE Products SET Cost = '"& CDBl(strCost) & ", Week1 = " & CDBl(strWeek1) & " WHERE ProductID = " & strID


but to no avail. This is originally from:
www.4guysfromrolla.com/webtech/100199-2.2.shtml

Any thoughts much appreciated as this is driving me crazy!

Jim

Reply to this topic