بتاريخ: 29 مارس 200520 سنة comment_31174 اريد عمل شاشة لتغيير كلمة المرور القديمة و استبدالها بأخرى جديدة انا عملت متغير على مستوى الفورمwhen _new_form_inistantdeflault_value('111','global.password') <<<<< like thisوعملت شاشة يدخل فيها كلمة _ المرور القديمة _ و يقارنها بالمتغير password وبناء عليه يسمح يتغيير قيمة هذا المتغير إلى القيمة المدخلة _ كلمة المرور الجديدة _ اريد الكود اللي يعمل هذا التغيير ؟ إذا كان set_item_propertyلرجاء كتابة نموذج تقديم بلاغ
بتاريخ: 29 مارس 200520 سنة comment_31189 أهلا اخ الرياض....اتمنى ان يكون هذا الحل الذي تبحث عنه....-----------------------------------when-button-pressed (save)this code will be under the button...---------declare s number; c number; valert number; p varchar2(6); begin select e_password into p from employees where e_id=:emp_change_pass1.p_id; if (:emp_change_pass1.p_old = p) then update employees set e_password=:emp_change_pass1.p_new where e_id=:emp_change_pass1.p_id; commit; c:=show_alert('emp_confirm_pass'); :emp_change_pass1.p_id:=' '; :emp_change_pass1.p_old:=' '; :emp_change_pass1.p_new:=' '; elsif (:emp_change_pass1.p_old <> p) then s:=show_alert('emp_change_pass1'); :emp_change_pass1.p_old:=' '; :emp_change_pass1.p_new:=' '; end if; Exception when no_data_found THEN VALERT :=SHOW_ALERT('a_ALERT'); IF VALERT=ALERT_BUTTON1 THEN go_block('emp_change_pass1'); GO_ITEM('p_new'); CLEAR_ITEM; GO_ITEM('p_old'); CLEAR_ITEM; GO_ITEM('p_id'); CLEAR_ITEM; end if; end;-----------------وهذه صورة مرفقة-----------البروق تقديم بلاغ
بتاريخ: 29 مارس 200520 سنة كاتب الموضوع comment_31191 مشكوووووووووور و الله يعطيك العافية البروق على المرور والرد الجميل وانا سوف اعمله عندي و انشاء الله يشتغل تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.