在VFP中,在下例中为什么我的系统老是提示“函数名缺少”
IFLOWER(THISFORM.TEXT1.VALUE)=″zx11″AND(LOWER(THISFORM.COMBO1.VALUE)=″张三″ORLOWER(THIS...
IF LOWER (THISFORM. TEXT1. VALUE) =″zx11″AND (LOWER (THISFORM. COMBO1. VALUE)=″张三″
OR LOWER (THISFORM. COMRO1.VALUE)
=″李四″
THISFORM. LABEL2.CAPTION ="迎使用本系统!"
THISFORM. 类11.SETFOCUS
ELSE
THISFORM.LABEL2.CAPTION="口令错误!重输。"
THISFORM.TEXT1.VALUE=""
THISFORM.COMBO1.VALUE=""
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 展开
OR LOWER (THISFORM. COMRO1.VALUE)
=″李四″
THISFORM. LABEL2.CAPTION ="迎使用本系统!"
THISFORM. 类11.SETFOCUS
ELSE
THISFORM.LABEL2.CAPTION="口令错误!重输。"
THISFORM.TEXT1.VALUE=""
THISFORM.COMBO1.VALUE=""
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 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询