بتاريخ: 11 يونيو 201015 سنة comment_194363 i have a 2 forms 1-for sign in form and 2- for admin_form in my application soi create anew list in form (1)and create the same number of parameter in form (2) and create alist parameter in form(1) and (2) and write that code in form (1) supposed put username into aparameter and get that value into form (2) that acode if :sign_list=0 then select username,password into s_username,s_password from ADMINS_VIEW where username=:sign_username and password=:sign_password; if :sign_username=s_username and :sign_password=s_password then list_id := GET_Parameter_List('U_NAME'); IF NOT Id_Null(list_id) THEN Destroy_Parameter_List(list_id); END IF; list_id := Create_Parameter_List('U_NAME'); Add_Parameter(list_id, 'dba_USERNAME', TEXT_PARAMETER, :PARAMETER.dba_USERNAME); Add_Parameter(list_id, 'dba_PASSWORD', TEXT_PARAMETER, :PARAMETER.dba_PASSWORD); Add_Parameter(list_id, 'dba_id', TEXT_PARAMETER, :PARAMETER.dba_id); Add_Parameter(list_id, 'dba_name', TEXT_PARAMETER, :PARAMETER.dba_name); :PARAMETER.dba_USERNAME:=S_USERNAME; :PARAMETER.dba_PASSWORD:=S_PASSWORD; select id,name into :PARAMETER.dba_id,:PARAMETER.dba_name from admins_view where username=s_username; open_FORM('D:\rr\ttttttttttttttttttttttttttttt\REGISTERATION.fmx', ACTIVATE, NO_SESSION,list_id ); end if; and in the second form i create the same number of parameterand used the parameter in form and compile dont give errorbut when run aforms and enter username and password in form 1 didnot pass the username of the user who just sign in into aparameteralthough the seconf form open but didnot get the value from the form (1) soi would any one understand parameter to help me and grat thanks to all-----------------------------------------------------------------------------and when using web.show_document()open and run successfully but the second window closed very fast at onceand when i close the broswer and compile form and run again run and open second window of web.documenti just asking why web.show doing that in run??i would asking also about close.self.close() in web documentwhats the purpose of that ??becouse i really think that is responsible about close the new windoe of show web documentsorry for that long questions but i realy confused about that>>>thanks again تم تعديل 11 يونيو 201015 سنة بواسطة zaza2020 تقديم بلاغ
بتاريخ: 11 يونيو 201015 سنة كاتب الموضوع comment_194382 شكراااا للجميع فقد توصلت لحل مشكلتى .......... تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.