请教"标准表达式中数据类型不匹配,如何解决??"
<%
set rs=conn.execute ("select * from T_equipment order by fixid asc")
no=1
%>
<%
if rs.eof then
Response.Write("<tr><td colspan=8 align=center>还没有添加系统!</td></tr>")
else
while not rs.eof
key=rs("fixid")
sql="select * from T_list where systemid='"&systemID&"'and fixid='"&key&"' order by elementid asc"
rss.open sql,conn,3,2
cediantotal=rss.recordcount
rss.close
rss.open "select * from T_list where systemid='"&systemID&"'and fixid='"&key&"' and Tstate=1",conn,3,2
tiaoshicdshu=rss.recordcount
rss.close
weitiaoshu=cediantotal-tiaoshicdshu
tiaoshiperc=Round(tiaoshicdshu/cediantotal*100,1)
%>
运行时出现
Microsoft OLE DB Provider for ODBC Drivers 错误 '80040e07'
[Microsoft][ODBC Microsoft Access Driver] 标准表达式中数据类型不匹配。
/debug/systemList.asp,行 113
既sql=" 表达式中数据类型不匹配
请教高手帮帮忙