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

بتاريخ:

بسم الله الرحمن الرحيم
السلام عليكم
ممكن مساعدتي في تعريف متغير نوع كوبل وكيفية عمله بحيث عندي فورمين الاولى فيها مجموعة حقول
الحقل الاول id رقم الموظف والفورم الثانية فيها مجموعة حقول ايضاً ومن ضمنها رقم الموظف id الشي الذي اريده عندما افتح الفورم الاول وادخل البيانات واضغط على زر امر لفتح الفورم الثانية تظهر نفس القيمة في الفورم الاولى على الفورم الثانية ولكم جزيل الشكر .

تم تعديل عنوان الموضوع ليدل على محتواه, راجع شروط الكتابه فى المنتدى
اداره المنتدى

بتاريخ:

السلام عليكم ورحمه الله:
يمكن ربط شاشتين باستخدام الglobal variables او باستخدامparameters:
1- طريقه تعريف الglobal vairabled كالتالي:
default_value(' ','GLOBAL.GlobalVariableName');
توضع عند
when-new-form-instance
:GLOBAL.GlobalVariableName :=values;
open_form('form_name');
on pre_query:
:form_field:=:GLOBAL.GlobalVariableName;
هنا تضمن الفورم عند عمل رن ياخذ القيمه الجديده قبل عمل
execute
2-طريقه الparameters lists:

DECLARE
PL_ID PARAMLIST;
PL_NAME VARCHAR2(3):='PAR';
N NUMBER(1);
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,’p1’);
END IF;

ADD_PARAMETER(PL_ID,’p1’,TEXT_PARAMETER,:form.text-filed));

IF ID_NULL(FIND_FORM(‘form name with full’))THEN
Open_Form(‘form name with full path',ACTIVATE, NO_SESSION,PL_ID);
ELSE
GO_FORM(‘module name’);
END IF;
END;
Note where p1 is a parameter should you create it physically on the form you want to call it
And hope you found it clear

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

ووفق الله اخي العزيز لهذه المعلومات القيمة ولكن الفورم الثانية او الشاشة الثانية ماذا اضع فيها

بتاريخ:

On the first screen write this:
When-new_form-instance:
default_value(‘ ’,:GLOBAL.GlobalVariableName);-- declare the global variable
for example
على فرض انك تستدعى الشاشه من
button
When- button -pressed
:GLOBAL.GlobalVariableName :=values;--VALUE May be form text filed or any static value

open_form('form_name’);

In the second screen write this:
When-new_form-instance:
:form.field:=:GLOBAL.GlobalVariableName;
pre_query:
:form.field:=:GLOBAL.GlobalVariableName;

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

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

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

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

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

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.