关于帐号验证问题,登陆不进去
integer li_state
string pass_id,pass_password
string passid,password
int rc
passid=trim(sle_1.text)
password=trim(sle_2.text)
SELECT "id","password"
INTO :pass_id,:pass_password
FROM "admin"
where id=:passid
;
if pass_password=password then
openwithparm(w_main,passid)
close(w_pass)
else
li_state=MessageBox("错误的管理员身份!",&
"输入的管理员ID或密码错误,是否重新输入?",StopSign!,YesNo!,1)
if li_state=1 then
open(w_pass)
sle_1.text=""
sle_2.text=""
else
close(w_pass)
end if
end if
数据库连得上,可是总是用户名或密码错误!!