注册 登录
编程论坛 PowerBuilder

刚学PB```想用游标写个登入程序```

incoolwen 发布于 2007-11-07 13:15, 1930 次点击
刚学PB```想用游标写个登入程序```不知道怎么写```
请大家帮帮忙``谢谢了```
2 回复
#2
houny2007-11-07 16:12

declare login cursor for
select distinct s_emplid,s_password
from employee;

open login;
string ls_emplid ,sle_emplid ,sle_password
long ll_total ,ll_i

do while (sqlca.sqlcode=0)

fetch login
into:ls_emplid,
:ls_password ;
... ...

#3
incoolwen2007-11-07 21:07
3Q```回去试下```
1