求指教,这段代码的a=0,a=1是什么意思
Command1(查询)的CLICK事件代码是if thisform.optiongroup1.value=1
a=0
locate for allt(js.gh)=allt(thisform.text1.value)
if found()
cxgh=allt(thisform.text1.value)
do form 教师信息浏览界面.scx
else
messagebox("该工号无记录,请重新输入教师工号")
thisform.text1.setfocus
endif
else
a=1
locate for allt(js.xm)=allt(thisform.text1.value)
if found()
cxxm=allt(thisform.text1.value)
do form 教师信息浏览界面.scx
else
messagebox("该姓名无记录,请重新输入教师姓名")
thisform.text1.setfocus
endif
endif