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

بتاريخ:

ياشباب عندي فورمين وعندي في كل فورم text السؤال كيف استطيع جمع القيم التي بداخلهما

وهما في فورمين مختلفين

بتاريخ:

السلام عليكم ورحمة الله و بركاته
أخي الكريم يمكنك التعامل مع القيم من فورمز مختلفة بأكثر من طريقة
اذكر منها ثلاث طرق

  1. التعامل عن طريق الglobal variables
  2. التعامل عن طريق الparameters و استعمال الparameter list لنقل القيم
  3. التعامل عن طريق الdatabase variables


فيمكنك مثلا استعمال الglobal variables وضع قيمة الitem الاول في global variable
و جمع الأخر معه
و هكذا في باقي الطرق
مع تمنياتي بالتوفيق

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

ممكن مثال اذا تكرمت

بتاريخ:

as an example
assume you have value in item1 in form1 , and you want to transfer this value to form2 to add to to another value in form22 assume it item2 , first to transfer to form2 from form1 you should add button in form1 and put the following code in the trigger (when-button-pressed) of this button




DECLARE
pl_id ParamList;
pl_name VARCHAR2(10) := 'tempdata';
BEGIN
pl_id := GET_PARAMETER_LIST(pl_name);
IF ID_NULL(pl_id) THEN
pl_id := CREATE_PARAMETER_LIST(pl_name);
ELSE
DELETE_PARAMETER(pl_id,'deptno');
END IF;
ADD_PARAMETER(pl_id,'deptno',TEXT_PARAMETER,
to_char(:item1));
OPEN_FORM('formm2',ACTIVATE,NO_SESSION,pl_id);
END;



and in form2 , in the layout editor under the parameters node ,you should add parameter with same name you defined in parameterlist you created in form1 , in our examole its name is deptno,

in form2 you can get the value of this parameterlike the following:

:parameter.deptno


this way is the second way is the second that hanon_ocp talked about
about first way , it is easy to do it, you can define any global variable any where in ur system, and you read this global variable any where u want
example
:global.x:=:item1;
and form2 you read the value by calling it
y:=:global.x + :item2

that is all
i hope u understand what i said

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

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

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

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

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

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.