fireburner69
Programmer
i Have these code
' Prepare the SQL insert command
cmdSQLinsert = "insert into books (name, info, link, price, weight, pid, category) values ('" & strname & "','" & strinfo & "','" & strlink & "','" & strprice & "','" & strweight & "','" & strpid & "','" & strcategory & "')"
' Execute the SQL insert command
objConn.Execute cmdSQLinsert
' Close and clean up
Set objConn = Nothing
and when i run the script and enter submit these error comes up!
Error Type:
Microsoft JET Database Engine (0x80004005)
Operation must use an updateable query.
/sales/admin/bupdate.asp, line 61
line 61 is objConn.Execute cmdSQLinsert
why these is? and what can i do to fix it?
I use win2000 Adv. Server! with updated ado!
' Prepare the SQL insert command
cmdSQLinsert = "insert into books (name, info, link, price, weight, pid, category) values ('" & strname & "','" & strinfo & "','" & strlink & "','" & strprice & "','" & strweight & "','" & strpid & "','" & strcategory & "')"
' Execute the SQL insert command
objConn.Execute cmdSQLinsert
' Close and clean up
Set objConn = Nothing
and when i run the script and enter submit these error comes up!
Error Type:
Microsoft JET Database Engine (0x80004005)
Operation must use an updateable query.
/sales/admin/bupdate.asp, line 61
line 61 is objConn.Execute cmdSQLinsert
why these is? and what can i do to fix it?
I use win2000 Adv. Server! with updated ado!