بتاريخ: 23 أكتوبر 201015 سنة comment_202064 بسم الله الرحمن الرحيماخوانى الاعزاء فى المنتدى بعد التحيةعند خطا فى الشجرةعاوزاستعراض كل بيانات جدول معين فى شجرة بحيث كلها عبارة عن اب ليس لها ابن declare htree1 item; STR varchar2(200); begin STR :='select 0 , LEVEL,INITCAP(ITM_name),'' OPEN '' ITM_id from ITEMS' ; htree1:=find_item('TREE4'); ftree.set_tree_property(htree1,ftree.query_text,STR); ftree.populate_tree(htree1); end; جزاكم الله الخير تقديم بلاغ
بتاريخ: 23 أكتوبر 201015 سنة comment_202071 السلام عليكم .. the Mistake in select statement any select (Hierarchical tree) Must contain 5 Expression Expression 1 - This expression contains a value that expresses the state of the record. State indicateswhether the record is shown (expanded), not shown (collapsed), or shown at thesame level as the parent record. A value of ‘1’ will cause the record to be shown. Avalue of ‘-1’ will cause the record to be hidden with the parent record marked ashaving children record. A value of ‘0’ will cause the record to be displayed at thesame level as the parent. This expression is referenced as tree propertyFtree.node_state. Expression 2 - This expression contains a value that ranks the record in the hierarchy. For example, ifthe record is a grandparent it would have a value of 1; if it were the parent it wouldhave a value of 2; and finally the child record would have a value of 3. This expressionis referenced as tree property Ftree.node_depth. Expression 3 - This expression contains the value that will be displayed in the tree when the record isdisplayed. The value can be literal text if the node is a description of the next level ofrecords such as ‘Departments’ in Figure 1 or the name of a table column if itrepresents the actual table values. This expression is referenced as tree propertyFtree.node_label. Expression 4 - This expression identifies the icon that can be shown next to the node. This is acomparable feature to the icons used in Object Navigator to represent various objects(i.e. canvas, data blocks, items). The referenced icons must be located in the currentworking directory or the directory listed in the UI_ICON string value in the registry. Avalue of ‘null’ can be used if no icon is desired. This expression is referenced as treeproperty Ftree.node_icon. Expression 5 - This expression contains a value that is used to identify the record used on the currentnode. It is generally the primary key of the record that supplied the value and can beused when navigating to another form. . This expression is referenced as tree propertyFtree.node_value. تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.