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

سؤال عن List

Featured Replies

بتاريخ:

يوجد عندي two list أريد أن تظهر البيانات التي في الlist الثانية حسب الإختيار في ال list الأولى وذلك عن طريق populte_group_with_query بالإضافة ل populte_list ولكنها لم تضبط معي

بتاريخ:

اخى الكريم على ما اعتقد انة يجب عليك بناء جملة ال sql الثانية بناء على قمية الاولى اى انة يجب ان تعمل extract للقيمة اولا من ال poplisty ومن ثم بناء ال poplist

بتاريخ:

أولاً تعمل ترايجر وتكتب به الكود الخاص بجلب مجموعة من الخيارات حسب شروط معينة مستخدماً بالشرط محتوى اللستة الأولى مثل :-

/*  ** Built-in:  CREATE_GROUP_FROM_QUERY 

** Example:   
Create a record group from a query, and populate it.
*/ 

DECLARE 

 rg_name  VARCHAR2(40) := 'Salary_Range';

 rg_id    RecordGroup;

 errcode  NUMBER;

BEGIN /* 
 ** Make sure group doesn't already exist 
 */ 
 [color=royalblue]rg_id [/color]:= Find_Group( [color=blue]rg_name [/color]);

 /* 
 ** If it does not exist, create it and add the two 
 
** necessary columns to it. 
 */ 

 IF Id_Null([color=blue]rg_id[/color]) THEN 

   [color=royalblue]rg_id[/color] := Create_Group_From_Query( [color=royalblue]rg_name[/color],
[color=blue][b][b]'SELECT SAL-MOD(SAL,1000) BASE_SAL_RANGE,' ||'COUNT(EMPNO) EMPS_IN_RANGE ' ||'FROM EMP ' ||'GROUP BY SAL-MOD(SAL,1000) ' ||'ORDER BY 1'[/b][/b][/color]); 

 END IF; 
 /* 
 ** Populate the record group 
 */ 
   errcode := Populate_Group( [color=blue]rg_id[/color] ); 
   
END;


ومن ثم يمكنك كتابة الترايجر التالي لتعبئة اللستة الجديدة (تغيير محتوياتها)

BEGIN Clear_List([color=red]list_id[/color]);
Populate_List([color=red]list_id[/color], [color=blue]'RECGRP_name'[/color]);

END;



ولمزيد من التفاصيل
الإعصار ([email protected])

علماً بأني جربت هذه الطريقة مراراً وتكراراً وعملت معي مع قليل من التجربة والحركات

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

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

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

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

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

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.