بتاريخ: 16 مارس 200818 سنة comment_124725 بسم الله الرحمن الرحيم عندي check box متعدد باسم a و check box اخر باسسم bواريد اذا كان a مشيك عليه يكون فيه امكانيه ان ادخل قيمه لل bواذا كان a غير مشيك عليه يجب ان يكون b غير محفزطبعا انا عملت الكود set_item_property('b',enabled,property_false)لكن المشكله انه يعمل لي عدم تحفيز للb كامل وانا اريد record واحد'يعني احتمل ان يكون record رقم غير محفز ولكن لرقم 2 محفزارجو ان تكونو فهمتم المقصود وان تساعدونا في ذالك وجزاكم الله الف خير تقديم بلاغ
بتاريخ: 17 مارس 200818 سنة comment_124785 فالبداية الاثنين مومختارين او غير مشيكين فاجعل الخيار b من البداية غير محفز في property plate استخدم للخيار a التريجر When-Checkbox-Checked Triggerو من خلاله فعل او حفز الخيار bset_item_property('b',enabled,property_true) --inside the trigger When-Checkbox-Checked واذا صار انشيك او عدم اختيار للخيار a استخدم WHEN-CHECKBOX-UNCHECKED لعدم تحفيز الخيار bset_item_property('b',enabled,property_false) --inside the trigger When-Checkbox-Unchecked اتمنى انا المشاركة افادتكم تقديم بلاغ
بتاريخ: 17 مارس 200818 سنة كاتب الموضوع comment_124798 اخي العزيز اشكرك كل الشكر عاى التعاونلكن يقوم بتحفيز ال fildعموديا وانا اريد افقيا لان هذا الفيلد متعدد اشكرك مره اخرى على تعاونك تم تعديل 17 مارس 200818 سنة بواسطة بشار المكرسي تقديم بلاغ
بتاريخ: 17 مارس 200818 سنة comment_124809 حاول تستخدم فنكشن ROW_NUMBER لتحدد الصف الذي عملتله شيك a وبالتالي تعمل تحفيز للخيار b الذي يحمل نفس ROW_NUMBERانا لم اجرب العمليه ولا اعلم اذا كانت ستنجح اتمنى لك التوفيق تقديم بلاغ
بتاريخ: 18 مارس 200818 سنة comment_124818 استخدم function : set_item_instance_propertySet_Item_Instance_Property( cur_itm, CURRENT_RECORD,enabled,property_false); see this about SET_ITEM_INSTANCE_PROPERTY:DescriptionModifies the current item instance in a block by changing the specified item property. SET_ITEM_INSTANCE_PROPERTY does not change the appearance of items that mirror the current instance.You can reference any item in the current form. Note that SET_ITEM_INSTANCE_PROPERTY only affects the display of the current instance of the item; other instances of the specified item are not affected. This means that if you specify a display change for an item that exists in a multi-record block, SET_ITEM_INSTANCE_PROPERTY only changes the instance of that item that belongs to the block's current record. If you want to change all instances of an item in a multi-record block, use SET_ITEM_PROPERTY . Any change made by a SET_ITEM_INSTANCE_PROPERTY remains in effect until:-the same item instance is referenced by another SET_ITEM_INSTANCE_PROPERTY, or-the same item instance is referenced by the DISPLAY_ITEM built-in, or-the instance of the item is removed (e.g., through a CLEAR_RECORD or a query), or-the current form is exitedSyntaxSET_ITEM_INSTANCE_PROPERTY (item_id ITEM, record_number NUMBER, property NUMBER, value VARCHAR2); SET_ITEM_INSTANCE_PROPERTY (item_name VARCHAR2, record_number NUMBER, property NUMBER, value VARCHAR2);SET_ITEM_INSTANCE_PROPERTY (item_name VARCHAR2, record_number NUMBER, property NUMBER, value NUMBER);Built-in Type unrestricted procedureEnter Query Mode yes Parametersitem_id The unique ID that Form Builder assigned to the object when it created it. Use the FIND_ITEM built-in to return the ID to a variable with datatype of ITEM.record_number The record number that you want to set. The record number is the record's position in the block. Specify as a whole number. You can specify CURRENT_RECORD if you want to set the block's current record.item_name The name you gave the item when you created it. Datatype is VARCHAR2.property The property you want to set for the given item. Possible properties are:BORDER_BEVEL Specifies the item border bevel for the specified item instance. Valid values are RAISED, LOWERED, PLAIN (unbeveled), or " ". A value of " " causes the border bevel to be determined by the value specified at the item level at design-time or by SET_ITEM_PROPERTY at runtime. Note: You cannot set BORDER_BEVEL if the item's Bevel property is set to None in Form Builder.INSERT_ALLOWED Applies only to records not retrieved from the database. When set to PROPERTY_TRUE at the item instance, item, and block levels, allows the end user to modify the item instance. Setting this property to PROPERTY_FALSE at the item instance, item, or block levels, prohibits the end user from modifying the item instance. NAVIGABLE When set to PROPERTY_TRUE at the item instance and item levels, allows the end user to be able to navigate to the item instance using default keyboard navigation. Setting this property to PROPERTY_FALSE at the item instance or item levels, disables default keyboard navigation to the item instance. REQUIRED Specify the constant PROPERTY_TRUE if you want to force the end user to enter a non-null value for the item instance. Setting this property to PROPERTY_FALSE at the item instance and item levels, indicates that the item instance is not required.UPDATE_ALLOWED Applies only to records retrieved from the database. When set to PROPERTY_TRUE at the item instance, item, and block levels, allows the end user to modify the item instance. When set to PROPERTY_FALSE at the instance, item, or block levels, prohibits the end user from modifying the item instance. VISUAL_ATTRIBUTE Specify a valid named visual attribute that exists in the current form or ''. Specifying '' leaves visual attribute unspecified at the item instance level.Usage NotesWhen working with properties specified at multiple levels (item instance, item, and block), consider the following guidelines: -Required properties specified at multiple levels are ORed together-Other boolean properties specified at multiple levels are ANDed togetherThe value derived from combining properties specified at the item instance, item, and block levels is called the effective value. Some of the effects of these two rules are as follows:-setting INSERT_ALLOWED to true has no effect at the item instance level unless it is set consistently at the block and item levels. For example, your user cannot type data into an item instance if INSERT_ALLOWED is true at the instance level, but not at the item or block levels.-setting NAVIGABLE to true has no effect at the item instance level unless it is set consistently at the item and item instance levels-Setting NAVIGABLE to true may affect whether the block is considered enterable. A block’s read-only Enterable property will be true if and only if its current record contains an item instance whose effective value for the NAVIGABLE property is true.-setting REQUIRED to false has no effect at the item instance level unless it is set consistently at the item and item instance levels.-setting UPDATE_ALLOWED to true has no effect at the item instance level unless it is set consistently at the block, item, and item instance levels.-setting BORDER_BEVEL at the item instance level will override the item level BORDER_BEVEL setting, except when the item instance BORDER_BEVEL property is unspecified (that is, set to " ").-setting VISUAL_ATTRIBUTE at the item instance level will override the properties at the item and block levels unless you specify a partial visual attribute, in which case a merge will occur between the partial visual attribute and the item's current visual attribute. If VISUAL_ATTRIBUTE is set to " " at the item instance level, the item-level settings of this property are used.-When a new record is created, its item instance properties are set to values that do not override the values specified at higher levels. For example, the BORDER_BEVEL and VISUAL_ATTRIBUTE properties get set to " ", REQUIRED is set to false, and other boolean properties are set to true.-Setting an item instance property does not affect the item instance properties of any items that mirror the specified item.-An instance of a poplist will, when selected, display an extra null value if its current value is NULL or if its Required property is set to false. When selecting the current value of an instance of a text list (t-list), it will be unselected (leaving the t-list with no selected value) if its Required property is set to false. If its Required property is set to true, selecting a t-list instance's current value will have no effect, that is, the value will remain selected تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.