为什么会这样,好痛苦阿!

superlyq007 2001-07-04 04:44:23
<%@ LANGUAGE="VBSCRIPT" %>
<!--#include file="..\ADOVBS.INC"-->
<%
DbPath = SERVER.MapPath("..\bookshop.mdb")
Set conn = Server.CreateObject("ADODB.Connection")
conn.open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DbPath
set rs=server.createobject("adodb.recordset")
sqltext="select * from huiyuan where idname='"&request("idname")&"' "
rs.open sqltext,conn,adopenkeyset,adlockoptimistic,adcmdtext'<!这就是那该死的第九行!>
if not(rs.eof and rs.bof) then%>


Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005'

[Microsoft][ODBC Microsoft Access 驱动程序] 系统不支持所选择的排序。

/aspsite/sale/nshop/zhuce/save.asp, 行9
...全文
49 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
neweb 2001-07-04
  • 打赏
  • 举报
回复
access 不支持你所选的游标类型,改为

rs.open sqltext,conn,1(或3),adlockoptimistic,adcmdtext 试试
gq 2001-07-04
  • 打赏
  • 举报
回复
改为
rs=conn.execute(sqltext)
看看。
artgolf 2001-07-04
  • 打赏
  • 举报
回复
不知道,我也痛苦,没有人给我解答问题。

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧