if eof() messagebox("用户名或密码错误,请重新输入!",64,"提示") thisform.text1.value="" thisform.text2.value="" thisform.text1.setfocus() else do form 3主界面.scx thisform.release endif
王三毛是学生?
if eof() messagebox("用户名或密码错误,请重新输入!",64,"提示") 提示窗口 thisform.text1.value=""文本框1为空值 thisform.text2.value=""同上 thisform.text1.setfocus()文本框1获得光标 else do form 3主界面.scx thisform.release endif