数据更新的问题?谢谢了!!!!!!!!
Microsoft VBScript 编译器错误 (0x800A0401)
语句未结束
/renzi/answer.asp, line 64, column 13
Update adver set adv_money=monerycount WHERE id = &"edit_id"
---------------------------------------------------------------------------
就是要修改表adver中第一条记录的adv_money的值(每次减1)源代码如下:
<%
adv.movefirst
dim edit_id
edit_id=adv.fields.item("id").value
dim monerycount
monerycount=adv.fields.item("adv_money").value
monerycount=monerycount - 1
Update adver set adv_money=monerycount WHERE id = &"edit_id"
Response.write (adv.fields.item("adv_money").value)
%>