hi all....
i'm not sure if this should be in the forum or the SQl Server forum, but here goes.
I'm trying to update multiple records using code i found on 'webthang'.
My update code is:
but i'm getting this error!
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near 'OrderDetailID'.
Can anyone see where the problem is?
Thanks guys
Andy
i'm not sure if this should be in the forum or the SQl Server forum, but here goes.
I'm trying to update multiple records using code i found on 'webthang'.
My update code is:
Code:
updateSQL = "UPDATE OrderDetails SET InStock=" & fFormat(Request(cInStock)) & "WHERE OrderDetailID=" & fFormat(Request(cRecordID))
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near 'OrderDetailID'.
Can anyone see where the problem is?
Thanks guys
Andy