الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

كيفية ظهور رسالة تاكيد قبل حذف السجل

Featured Replies

بتاريخ:

اخواني الاعزاء
استخدم tool bar الخاص بالاوركل واريد عند حذف سجل من خلال الظغط علي مفتاح الحذف في tool bar تظهر رسالة تاكيد هل تريد الحذف هذا السجل اذا ظغط اوك يتم الحذف
فما هو الكود الخاص بذلك وما اسم التريجر
post-49778-1271615504.gif

بتاريخ:

السلام عليكم و رحمة الله و بركاته

الحدث Trigger الذي يكتب فيه الكود التالي هو key_delrec

DECLARE 
alert_id ALERT; 
num Number;
BEGIN alert_id := FIND_ALERT('delete');
Set_Alert_Property(alert_id,title,'Confirmation');
Set_Alert_Property(alert_id, alert_message_text, 'Do you want to delete this record?' );
num := SHOW_ALERT( alert_id );
if num = ALERT_BUTTON1 then
delete_record;
commit_form;
end if;
clear_message;
if error_type='FRM' and error_code=40510 then
alert_id := FIND_ALERT('del_alert');
Set_Alert_Property(alert_id, alert_message_text, 'Cannot delete compartment, it is referred by another record.' );
num := SHOW_ALERT( alert_id );
raise form_trigger_failure;
end if;
clear_message;
End;

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.