pb入门,遇到问题请教
lyq 2007-05-17 02:30:44 各位高手请教
做登录窗体,
用户名称(下拉),密码(输入)
现在用户名称用的dw_1 ,关联用户表,在登录时我写如下代码,没实现预期效果
string ls_select
string username
string userpsd
integer li_row
li_row = pick_user.getrow()
if li_row >=1 then
username=pick_user.Describe(username+".dddw.datacolumn") -此处为啥不对
userpsd=pick_user.Describe(username+".dddw.displaycolumn")-此处为啥不对
if userpsd=user_psd.text then
open(mainform)
else
messagebox('系统提示','您输入的密码不正确')
end if
end if