注册 登录
编程论坛 ASP技术论坛

求助半个月都无法解决的问题.

hifisy 发布于 2011-04-03 01:46, 353 次点击

希望得到帮助.可以的话请加我QQ:770774895

错误提示:
Microsoft JET Database Engine 错误 '80040e14'

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

/produit/produit_add.asp,行 192

详情请看这个帖子.
https://bbs.bccn.net/thread-335366-1-1.html

[ 本帖最后由 hifisy 于 2011-4-3 01:48 编辑 ]
2 回复
#2
hifisy2011-04-03 01:48
<%
if request("hid2")<>"" then
nowbigclass=request("bigclass")
nowsmallclass=request("smallclass")
nowtitle=request("title")
nowhuohao=request("huohao")
nowku=request("ku")
nowshulian=request("shulian")
nowdanwei=request("danwei")
nowprice=request("price")
if nowprice="" then
  nowprice=0
end if
nowprice1=request("price1")
if nowprice1="" then
  nowprice1=0
end if
nowprice2=request("price2")
if nowprice2="" then
  nowprice2=0
end if
nowguige=request("guige")
nowbaojin=request("baojin")
nowclass=request("class")
nowduihuan=request("duihuan")
nowtichen_type=request("tichen_type")
nowtichen=request("tichen")
nowphoto=request("photo")
nowbeizhu=request("beizhu")
nowid_login=request("id_login")
nowid_gys=request("id_gys")
nowgys=""
set rs_login=conn.execute("select * from login where id="&nowid_login)
set rs_gys=conn.execute("select * from gys where id="&nowid_gys)   /这是192行
if rs_gys.eof=false then nowgys=rs_gys("company")
sql="select * from produit where huohao='"&nowhuohao&"'"
set rs=conn.execute(sql)
if rs.eof=false then
%>
#3
爱·循环2011-04-03 10:52
检查一下nowid_gys有没有值传过来。
1