الانتقال إلى المحتوى
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.

استخدام ال Srw.reference (هام)

Featured Replies

بتاريخ:
  • كاتب الموضوع

يا اخوان الرجااااء مساعدتي في معرفة اهمية استخدام SRW.REFERENCE في التقارير لان الموضوع هام جدا
بالنسبة لي .

بتاريخ:

Alsalam alikom ,
You can use the help of the oracle reports it gives also good examples

بتاريخ:

انا لم استخدم هذا الامر من قبل .. ولكن بدلا من الانتظار

SRW.REFERENCE built-in procedureThis procedure adds the referenced object to the PL/SQL construct's dependency list. This causes Reports Builder to determine the object's value just before firing the PL/SQL construct. This is useful when you want to ensure that a column value passed to a user exit is the most recently computed or fetched value.

Syntax

SRW.REFERENCE (:object CHAR|DATE|NUMBER);

Parameters
Description

:object Is the Reports Builder parameter or column whose value needs to be ascertained before the construct fires.


Restrictions
The colon is required before the object name.

SRW.REFERENCE is unnecessary when the object is already referenced in the current PL/SQL construct.

Example
Suppose you want to pass the temperature and pressure values to a user exit called SUPERHEAT. Suppose, also, that if the temperature is too low, you want to raise a customized error message.   To do so, you could write the following formula:


FUNCTION EXIT RETURN BOOLEAN IS 
BEGIN 
 if :temp > 0 then  
 SRW.REFERENCE (:temp); -- unnecessary reference
 SRW.REFERENCE (:pressure);
 SRW.USER_EXIT('superheat temp pressure'); 
else SRW.MESSAGE(1000, 'Temperature is below normal. 
 Is machine off?');
raise SRW.PROGRAM_ABORT;
end if;
RETURN(TRUE);
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.