如何解决(0x80004005)错误!
<%
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.MapPath("data/data.mdb")
exec="update kc set 7月=(select sum(myqty) from zmp where zmp.bb=kc.bb and month(mydate)=7)"
conn.execute exec
conn.close
set conn=nothing
%>
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.MapPath("data/data.mdb")
exec="update kc set 7月=(select sum(myqty) from zmp where zmp.bb=kc.bb and month(mydate)=7)"
conn.execute exec
conn.close
set conn=nothing
%>
错误类型:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] 操作必须使用一个可更新的查询。
/kc.asp, 第 5 行
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] 操作必须使用一个可更新的查询。
/kc.asp, 第 5 行