主要是验证数据合法性要做好,还有就是体验的感觉,所以用什么都一样,我认为没必要不让用数据窗口 [解决办法] string ls_name ,ls_pass int flag =0 ls_name =trim(sle_1.text) ls_pass =trim(sle_2.text) if trim(ls_name)='' then return if trim(ls_pass)='' then return
select 1 into :flag from user_login where uname=:ls_name and password=:ls_pass; if flag =1 then Open (w_main) close(parent) end if