vfp 不能用or和and的问题
if empty (thisform.text1.value)
or empty (thisform.text2.value)
thisform.Commandgroup1.command1.enabled=.f.
这 是一个表单里用到的,为什么用and或or都会被报不能识别 的命令谓词?注释掉第二行可以正常运行(新人,谢谢)
代码做握态没有问皮燃题,已纯源测试,vfp6.0中文版
if empty (thisform.text1.value) .or. empty (thisform.text2.value)
thisform.Commandgroup1.command1.enabled=.f.
endif
另外你这个代码是放哪里的
or的左右各加一个英文小数点。如:
.or.
这是一行的命令,不能分行写,写在一行就行了。