请教PB语法问题

lasa110 2011-09-06 08:23:11
string shenfen
string zhengjian
string inputmima,correctmima


shenfen=sle_1.text
zhengjian=sle_2.text
inputmima=sle_3.text

select idpassword
into :correctmima
from identity_t
where identity_no=:shenfen and account=:zhengjian ;

if inputmima=correctmima then
open(w_student_mainopen)
else
messagebox("提示","密码错误")

这段代码是想从表identity_t中根据Identity_no和account选出变中存有的响应密码,通过与输入密码比对确定密码是否输入正确
为什么总是报错ERROE C0031:SYNTAX ERROR呢
光标停在第一行,看了好几遍也没看出第一行有什么问题
就算第一行是空行 光标也是提示第一行有错
...全文
37 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
Nate 2011-09-06
  • 打赏
  • 举报
回复
if inputmima=correctmima then
open(w_student_mainopen)
else
messagebox("提示","密码错误")
end if

1,079

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧