由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BuildingWeb版 - ASP问题: Operation must use an updateable query
相关主题
求助:利用asp搭建bbs出现错误Windows 2003/XP IIS server不兼容?
[转载] ASP可以用Oracle为数据库吗?大侠看看这是什么error msg?
help about sql connection with ASPHow to access ORACLE via ASP?
Q: ASP 里能够不用 ODBC 访问数据库吗Help! Why can't I delete or update server side Access database?
mysql query in php这个功能用ASP怎么实现?(ASP新手)
[转载] how to link to remote access database?asp文件里print-out问题
[转载] ASP的script function里, 可以query database吗?请问哪位知道国内那个ASP+ACCESS的虚拟主机好?
哪里有ASP在线英汉字典的源程序我的asp脚本为什么总是出现"数据库对象不能更新"的错误 ?
相关话题的讨论汇总
话题: microsoft话题: updateable话题: operation话题: asp话题: access
进入BuildingWeb版参与讨论
1 (共1页)
h*****l
发帖数: 184
1
我用ASP处理ACCESS数据库。
但运行INSERT时,出来错:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Operation must use
an updateable query.
百思不得其解, 请帮我看看, 错误出在SQLInsert那句上:
Set corConn = Server.CreateObject("ADODB.Connection")
dbpath = Server.mappath("fpdb\mbaalumni.mdb")
corConn.open "driver={Microsoft Access Driver (*.mdb)}; dbq=
"&dbpath&""
RS = Server.CreateObject("ADODB.Recordset")
SQLSel = "Select * from mbaalumni Where fname = '"&
Request.Form("fname")
N**e
发帖数: 158
2

try to print the query out here, if it's right(no empty fields, no bad values)
then double check the table format.
I suspect it's the .Form call that cause the problem

【在 h*****l 的大作中提到】
: 我用ASP处理ACCESS数据库。
: 但运行INSERT时,出来错:
: Microsoft OLE DB Provider for ODBC Drivers error '80004005'
: [Microsoft][ODBC Microsoft Access Driver] Operation must use
: an updateable query.
: 百思不得其解, 请帮我看看, 错误出在SQLInsert那句上:
: Set corConn = Server.CreateObject("ADODB.Connection")
: dbpath = Server.mappath("fpdb\mbaalumni.mdb")
: corConn.open "driver={Microsoft Access Driver (*.mdb)}; dbq=
: "&dbpath&""

1 (共1页)
进入BuildingWeb版参与讨论
相关主题
我的asp脚本为什么总是出现"数据库对象不能更新"的错误 ?mysql query in php
[转载] MS Access里的中文问题[转载] how to link to remote access database?
请教网站高手[转载] ASP的script function里, 可以query database吗?
网页中数据库格式显示问题哪里有ASP在线英汉字典的源程序
求助:利用asp搭建bbs出现错误Windows 2003/XP IIS server不兼容?
[转载] ASP可以用Oracle为数据库吗?大侠看看这是什么error msg?
help about sql connection with ASPHow to access ORACLE via ASP?
Q: ASP 里能够不用 ODBC 访问数据库吗Help! Why can't I delete or update server side Access database?
相关话题的讨论汇总
话题: microsoft话题: updateable话题: operation话题: asp话题: access