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

بتاريخ:

طلعت مشكلة ثانية :


أنا باشتغل على الFORMS6 و عندس عدة جداول مرتبطة بجدول المستخدمين.

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

و كما هو معروف عن الطريقة التقليدية المتبعة للمناداة على محتويات الجدول هي كالتالي:

execute_query;



لكن هذه الطريقة بتجيب كل اللي في الجدول.. حاولت استخدام طرق أخرى لتلبية احتياجي و هي:

enter_query(my_value);

و:

ecexute_query(my_value);

و أيضا

:block.item := my_value;
execute_query;



لكن بدون جدوى..

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

توضيح للمشكلة أكثر :


شباب لاحظوا أن الفورم الاول يحوي على بيانات الموظف واسمه موجودة على شكل tabular

حيث وضعت button بجانب كل سجل في الtabular

فلما أريد ترحيل بيانات هذا السجل الى فورم آخر عملت Global variable

:Global.id := :block.id;
:Global.name := :block.name;


ثم وضعت الحقول الـGlobal في الحقول المقابلة والمشابهة لها في الفورم الآخر عن طريق الـTrigger

when-new-form-instance

فلما اعمل للحقول المضافة تعديل على احدها : يرفض ذلك !!!


هل لازم يكون الفورم الآخر في وضعية الـ execute_query ;

مع ملاحظة :

أن الفورم اذا كان في وضعية الexecute_query;
لا يضيف الحقول المرسلة كـ Global الى الحقول المقابلة لها في الفورم الاخر



أم أن هنالك طريقة اخرى ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟

أرجو الرد وجزيتم خيرا ،

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

أرجو المساعدة

بتاريخ:

first copy and paste the code in the notebad
======================================
1-write this code in the form to call the another from
frorm2 and pass the parameter:parameter1,parameter2,and any parameter
=====================================================================================

DECLARE
pl_id paramlist;
pl_name VARCHAR2(10) := 'param';
begin
pl_id := Get_Parameter_List(pl_name);
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List(pl_id);
END IF;
pl_id := Create_Parameter_List(pl_name);
IF Id_Null(pl_id) THEN
Message('Error creating parameter list '||pl_name);
raise Form_Trigger_Failure;
END IF;
Add_Parameter(pl_id,'parameter1',TEXT_PARAMETER,(:block.item));--write to_char(:block.item)); if its number to converted to char
Add_Parameter(pl_id,'parameter2',TEXT_PARAMETER,(:block.item2))

Run_Product(FORMS,'C:\formname.fmx', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
IF Form_Success THEN
null;

END IF;
end;
===========================================
2-in the another called form2 create parameter1 and parameter 2 in the object navigator in the parameter area
as same as u named in the code in ur first form
===========================================================
3-in when-new-form-instance in the form2 write:
:block.item1:=:PARAMETER.PARAMETER1
:block2.item2:=:PARAMETER.PARAMETER2
=============================================

تم تعديل بواسطة Ahmad.Hasan

  • بعد 2 شهور...
بتاريخ:

بطريقة اسهل في خصائص البلوك الذي في الفورم الثاني
اختار الخاصية where clause
اكتب الاتي
id :=:global.id and name =:global.name
مع الوضع في الاعتبار ان id and name افتراضية (ضع الموجود عندك)
مع execute_query سوف تشتغل انشاء الله

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

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

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

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

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

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.