[求助]vaid问题..
SELECT sbqd
LOCATE FOR 序号=thisform.text1.Value
IF FOUND()
thisform.text2.Value=sbqd.公司名称
thisform.text3.Value=sbqd.次数
thisform.text5.Value=sbqd.数量
thisform.text6.Value=sbqd.总价
thisform.Refresh
thisform.grid1.RecordSource="ruku"
ELSE
MESSAGEBOX("无此序号",48,"提示")
thisform.text1.Value=""
RETURN 0
ENDIF
thisform.Refresh
SELECT ruku
COUNT FOR 序号=thisform.text1.Value TO x
thisform.Refresh
IF x>1
MESSAGEBOX("该序号已存在",48,"提示")
ENDIF
thisform.Refresh
我放在TEXT1的VAILD事件下,运行时无论这序号是否存在,其它的文本框都变得不可用...请问这是怎么回事??两个表的序号都是数值型的...