Hello All,
I am stumped on this one...
I have one version of this update query that works
Once I add to it a little, I get the oh so descriptive "type mismatch" error for ("intStock").
I think what is throwing me is that it did work???
Any suggestions?
I am stumped on this one...
I have one version of this update query that works
Code:
set rsPutItemOrder = Server.CreateObject("ADODB.Recordset")
rsPutItemOrder.Open "itemsOrdered", Conn, adOpenStatic, adLockOptimistic, adCmdTable
rsPutItemOrder.addnew
rsPutItemOrder("orderID") = Request.form("intOrderID")
rsPutItemOrder ("quantity") = Request.Form("intQuant")
rsPutItemOrder ("productID") = Request.Form("intStock")
Once I add to it a little, I get the oh so descriptive "type mismatch" error for ("intStock").
Code:
set rsPutItemOrder = Server.CreateObject("ADODB.Recordset")
rsPutItemOrder.Open "itemsOrdered", Conn, adOpenStatic, adLockOptimistic, adCmdTable
rsPutItemOrder.addnew
rsPutItemOrder("orderID") = Request.form("intOrderID")
rsPutItemOrder("productDesc") = Request.form("strProdName")
rsPutItemOrder ("productID") = Request.Form("intStock")
rsPutItemOrder("itemPrice") = Request.form("intPrice")
rsPutItemOrder("beforeTax") = Request.form("intExtPrice")
I think what is throwing me is that it did work???
Any suggestions?