博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

pb中的elseif要连起来写

Posted on 2010-01-22 14:42  大椰网吧  阅读(1275)  评论(0编辑  收藏  举报

pb中的elseif要连起来写

 

select username into:l_s_username from U_YHCS WHERE  username=:g_s_username AND  password=:g_s_password;
if SQLCA.sqlcode = 100 then
 messagebox("提示信息","用户名或密码错误!")
 return
elseif SQLCA.sqlcode < 0 then
 MessageBox("提示信息",SQLCA.SQLerrText,Exclamation!)
 return
end if