数据库操作???????????????????????????????????????????????????????????????????????????????
set conn=server.CreateObject("adodb.connection")
conn.open(MM_Conn_String)
if ordx<>"" then
sql="select * from workrep where recdate>"&datex&" and username='"&username&"' order by '"&ordx&"' desc"
else
sql="select * from workrep where recdate>"&datex&" and username='"&username&"' order by id desc"
end if
set rsxx=server.CreateObject("adodb.recordset")
rsxx.open sql,conn,1,1
end if
报错:
错误类型:
Microsoft VBScript 运行时错误 (0x800A000D)
类型不匹配: 'rsxx'
/oa1/repselect.asp, 第 88 行