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

Featured Replies

بتاريخ:

عندى جدول موظفين
اريد ان اضع ليست ايتم فيها نوع الموظف اما رجل او انثى
هل اقوم بعمل جدول للانواع ومرتبط بجدول الموظفين

الرجاء الافاده
فى كيفية عمل هذه الليست ايتم مع الشرح لو تكرمتم وشكراا لكم

بتاريخ:

مفتكرش ان كده صح انا شايف انك تضيف كولم جديد فى الجدول موظفين الموظفين و تحط على الكولم فى الفورمه CHECK_BOX
وطبعا بتسمح بقيمتن لو checked يبقى ذكر او العكس وكده تضمن ان الياسور مش هيختار قيمه تالت
و با لتوفيق

بتاريخ:

السلام عليكم
ممكن استخدام radio button فهي تعطي الخيار موضح افضل من check box
وممكن استخدام ايضا list of value (lov) اذا كان هناك جدول
وممكن استخدام combobox ويتم ملئة
مثال

How to populate poplist item? 

Your client has a form that contains a product description. They don’t want that their data entry staffs to type a product description. You, as a programmer, have been asked to change their form so that the product description item is populated from the PRODUCT table. They therefore are able to select the product description. You need to change the “text item” object to the “list item” object with the item type as “poplist.”



Solution:

=========

Assuming that you have a form that has an item that contains the product description. 

 

1-	Go to the object navigator window and open the “product description” property palette.

 

2-	Change “item type” to “list item.”

 

3-	Make sure that “list style” is “poplist.”

 

4-	Open the “Elements in list.” You do this just to avoid getting an error regarding with the “No value defined in the list item” error message. 

 

5-	Type “A” in “List Elements.”

 

6-	Type “A” in “List Item Value.”

 

7-	Close the “product description” property palette.

 

8- Create a record group and name it “rg_prod_desc” with the 

  following query:

(Make sure that the “Based on the query below” option is selected.)



  SELECT descrip A, descrip B 

 FROM product 

 ORDER BY 1  -- do not type “;” at the end.



Note that you must define the descrip column twice. The first one is for label, and the second one is for the value.

 

9-	Open the “rg_prod_desc” property palette and change the “Name” item and the “Record Group Fetch Size” item to your desire value.

For example:

Change “Name” to “rg_prod_desc.”

Change “Record Group Fetch Size” to 10.

 

10-Close the property palette.  

 

11- Create the “WHEN_NEW_FORM_INSTANCE” trigger with the following code:



DECLARE 

  STATUS NUMBER;

  Problem EXCEPTION;



BEGIN



  -- to populate the group

  STATUS:=POPULATE_GROUP('RG_PROD_DESC');

 

 -- Check that the select statement was executed successfully.

 

IF STATUS <> 0 THEN

   RAISE problem;

ELSE

   -- to populate the list item

   POPULATE_LIST('DESCRIP', 'RG_PROD_DESC');

END IF;



EXCEPTION

  WHEN problem THEN

	 MESSGAE ('We have a problem to query the PRODUCT table.');

END;



12- Compile and close the trigger.



13- Run the form, go to the product description item, and click on the description poplist. You should see the items listed.

بتاريخ:

يا جماعة الموضوع ليس معقد لهذه الدرجة

فقط انشأ list item

وبعد ذلك ثبت القيميه التي تريد بداخلها مثلا 1, 2

والقيمة التي تريد ان يعتمد عليها مثلا ذكر , انثى

بتاريخ:

طيب يا سيدي
يا فتك انت شكرا على التعليق
ما باقي الا ابن يومين

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

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

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

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

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

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.