我再描述下,这是我count表结构
我的一部分代码
do case
********************
case this.value=1
update count set wd=wd+1
update count set cnt4=cnt4+1
update count set q=q+1
if q>=0 and q<=20
thisform.text4.value=val("0")
else
thisform.text4.value=""
endif
**********************
case this.value=2
update count set wd=wd+1
update count set cnt4=cnt4+1
update count set q=q+1
if q>=0 and q<=20
thisform.text4.value=val("100")
else
thisform.text4.value=""
endif
*********************
case this.value=3
update count set wd=wd+1
update count set cnt4=cnt4+1
update count set q=q+1
if q>=0 and q<=20
thisform.text4.value=val("300")
else
thisform.text4.value=""
endif
**********************
case this.value=4
update count set wd=wd+1
update count set cnt4=cnt4+1
update count set q=q+1
if q>=0 and q<=20