语法错误 (操作符丢失) 在查询表达式 'id= <font face=' 中。

set rs=conn.execute("select * from design where id="&id&"")

第1个回答  2020-04-23
"select
*
from
aaa
where
id="
&
tid
为什么会出现这个错误呢,这是因为你的tid为字符型,而表中的id为自动编号
所以要转变一下
"select
*
from
aaa
where
cstr(id)
="
&
tid
相似回答
大家正在搜