VFP函数名缺少
我是按书上的例子打的,但是保存的时候提示函数名缺少,请问什麽回事?IFLOWER(THISFORM.TEXT1.VALUE)="zx11"and(lower(thisfo...
我是按书上的例子打的,但是保存的时候提示函数名缺少,请问什麽回事?
IF LOWER (THISFORM. TEXT1. VALUE) = "zx11" and (lower(thisform.combo1.value)="张三"
OR LOWER(THISFORM.COMBO1.VALUE)="李四"
THISFORM.LABEL2.CAPTION="欢迎使用本系统!"
THISFORM.类11.SETFOCUS
ELSE
THISFORM.LABEL2.CAPTION="口令错误!请重输。"
THISFORM.TEXT1.VALUE=""
THISFORM.COMBO1.VALUE=""
THISFORM.COMBO1.SETFOCUS
THISFORM.COMBO1.SETFOCUS
THISFORM.REFRESH
Z=Z+1
IF Z=3
THISFORM.LABEL2.CAPTION="你无权使用本系统!"
THISFORM.text1.enabled=.F.
THISFORM.COMBO1.ENABLED=.F.
THISFORM.类11.SETFOCUS
ENDIF
ENDIF 展开
IF LOWER (THISFORM. TEXT1. VALUE) = "zx11" and (lower(thisform.combo1.value)="张三"
OR LOWER(THISFORM.COMBO1.VALUE)="李四"
THISFORM.LABEL2.CAPTION="欢迎使用本系统!"
THISFORM.类11.SETFOCUS
ELSE
THISFORM.LABEL2.CAPTION="口令错误!请重输。"
THISFORM.TEXT1.VALUE=""
THISFORM.COMBO1.VALUE=""
THISFORM.COMBO1.SETFOCUS
THISFORM.COMBO1.SETFOCUS
THISFORM.REFRESH
Z=Z+1
IF Z=3
THISFORM.LABEL2.CAPTION="你无权使用本系统!"
THISFORM.text1.enabled=.F.
THISFORM.COMBO1.ENABLED=.F.
THISFORM.类11.SETFOCUS
ENDIF
ENDIF 展开
2012-03-06
展开全部
(lower(thisform.combo1.value)="张三"
&&上面括号不配对,改为:
(lower(thisform.combo1.value))="张三"
&&上面括号不配对,改为:
(lower(thisform.combo1.value))="张三"
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询