vfp操作符操作数类型不匹配急!!!!
thisform.list1.rowsourcetype=3docasecasethis.value=1thisform.list1.rowsource='selectx...
thisform.list1.rowsourcetype=3
do case
case this.value = 1
thisform.list1.rowsource='select xm from 表3 where kc="数学" into cursor temp2'
case this.value = 2
thisform.list1.rowsource='select xm from 表3 where kc="语文" into cursor temp2'
endcase
thisform.refresh
执行到 case this.value = 1时提示操作符操作数类型不匹配 展开
do case
case this.value = 1
thisform.list1.rowsource='select xm from 表3 where kc="数学" into cursor temp2'
case this.value = 2
thisform.list1.rowsource='select xm from 表3 where kc="语文" into cursor temp2'
endcase
thisform.refresh
执行到 case this.value = 1时提示操作符操作数类型不匹配 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询