[求助]密码登录问题
											已经通过用ODBC的连接,在登录窗口中,总是提示密码错误,已经检查了,从sql2000数据库中取得的数据和输入的一样,就是老是提示错误,请高人指教。										
					
	没有人会吗?????????????????
ls_user=user.text
Select pass
Into : ls_password
From password
where name=:ls_user;
If user.text="" or password.text="" then
    
    messagebox("","用户名或密码不能为空!")
    
 return
 
End if
if password.text=ls_password then
    
    open(w_main)
    
    close(w_password) 
    
 else
    
    messagebox("","用户名或密码错误!")
    
end if
是和 sql2000 连接的数据库,和PowerBuilder自带的数据库就没有问题
If user.text="" or password.text="" then
    
    messagebox("","用户名或密码不能为空!")
    
return
End if
ls_user=user.text
Select pass
Into : ls_password
From password
where name=:ls_user;
if trim(password.text)=trim(ls_password) then
    
    open(w_main)
    
    close(w_password) 
    
else
    
    messagebox("","用户名或密码错误!")
    
end if
