My codes run ok in my local PC but when I upload to my server, i got this error:
Microsoft JET Database Engine error '80004005'
Operation must use an updateable query.
/ZigUpdateStatus.asp, line 39
Can anybody explain this? These are my codes:
set conn=Server.CreateObject("ADODB.Connection"
conn.Provider="Microsoft.Jet.OLEDB.4.0"
stropen= server.MapPath("PasarApplicant.mdb"
conn.Open stropen
strsql="UPDATE unitlist SET name='" & namaorang & "',nric='" & nricorang & "',status= '" & Request.Form("cars" & "' WHERE unitno='" & Request.Form("fLotNo" & "'"
' how to update multiple fields
set rs=conn.Execute(strsql)
'set rs=conn.Execute strsql
Response.Redirect "zigStatus.asp"
Microsoft JET Database Engine error '80004005'
Operation must use an updateable query.
/ZigUpdateStatus.asp, line 39
Can anybody explain this? These are my codes:
set conn=Server.CreateObject("ADODB.Connection"
conn.Provider="Microsoft.Jet.OLEDB.4.0"
stropen= server.MapPath("PasarApplicant.mdb"
conn.Open stropen
strsql="UPDATE unitlist SET name='" & namaorang & "',nric='" & nricorang & "',status= '" & Request.Form("cars" & "' WHERE unitno='" & Request.Form("fLotNo" & "'"
' how to update multiple fields
set rs=conn.Execute(strsql)
'set rs=conn.Execute strsql
Response.Redirect "zigStatus.asp"