当前位置: 代码迷 >> ASP >> asp中关于access数目字字段的更新
  详细解决方案

asp中关于access数目字字段的更新

热度:148   发布时间:2012-06-25 18:37:39.0
asp中关于access数字字段的更新。
conn.execute "update PriceSpotTable set BuyScore=BuyScore+"&snums&" where SpotID="uid

BuyScore为数字字段,想在原数据基础上加snums,为什么这样写会出错,

------解决方案--------------------
后边少了一个 & 号

conn.execute "update PriceSpotTable set BuyScore=BuyScore+"&snums&" where SpotID=" & uid
  相关解决方案