各位大侠看一下,用VF编写的程序 中缺少操作数,不知道哪有问题 ?
username1=ALLTRIM(Thisform.mytextbox1.myValue)password1=ALLTRIM(Thisform.mytextbox2.m...
username1 = ALLTRIM(Thisform.mytextbox1.myValue)
password1 = ALLTRIM(Thisform.mytextbox2.myValue)
username2 = ALLTRIM(Thisform.mytextbox1.Value)
password2 = ALLTRIM(Thisform.mytextbox1.Value)
IF username1 = = username2 AND password1 = = password2
WAIT "欢迎使用..." WINDOWS TIMEOUT 1
Thisform.Release
ELSE
Thisform.num = Thisform.num+1
IF Thisform.num = 3
WAIT"用户名或口令不对,登录失败!" WINDOWS TIMEOUT 1
Thisform.Release
ELSE
WAIT"用户名或口令不对,请重输..." WINDOWS TIMEOUT 1
ENDIF
ENDIF 展开
password1 = ALLTRIM(Thisform.mytextbox2.myValue)
username2 = ALLTRIM(Thisform.mytextbox1.Value)
password2 = ALLTRIM(Thisform.mytextbox1.Value)
IF username1 = = username2 AND password1 = = password2
WAIT "欢迎使用..." WINDOWS TIMEOUT 1
Thisform.Release
ELSE
Thisform.num = Thisform.num+1
IF Thisform.num = 3
WAIT"用户名或口令不对,登录失败!" WINDOWS TIMEOUT 1
Thisform.Release
ELSE
WAIT"用户名或口令不对,请重输..." WINDOWS TIMEOUT 1
ENDIF
ENDIF 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询