Heirarchical Tree ?
Hi
My oracle version is Oracle XE And developer 6I
I Create a Tree which code is
SELECT 1, LEVEL, initcap(name)||' ('||to_char(id)||' )','',to_char(id)
FROM py_emp
CONNECT BY PRIOR id = catagory_id start with
id BETWEEN 01 AND 100
ORDER SIBLINGS BY IDIts show record Like
Management
Yousuf
Shahzaib
Imran
Cutting
Master Sajjad
Yakoob
Finishing
Toufiq
Yasin
Yasir
Umair
I need to bold my Department name
Like Management,Cutting,Finishing Department
which look like this
Management
Yousuf
Shahzaib
Imran
Cutting
Master Sajjad
Yakoob
Finishing
Toufiq
Yasin
Yasir
Umair
Regards
Shahzaib ismail
hi
store all u r gif-icons in database something like this.
SQL> desc icon
Name Null? Type
CODE NOT NULL NUMBER(10)
NAME VARCHAR2(20)
ICON VARCHAR2(20)
PARENT NUMBER(10)
insert into icon values(101,'Seema','save','.................);sarah
Similar Messages
-
How can we use "tooltip " option in heirarchical tree item in oracle 11g?
how can we use "tooltip " option in heirarchical tree item properties in oracle 11g forms?
hi user11973188
how can we use "tooltip " option in heirarchical tree item properties in oracle 11g forms?isn't it exist in the tree item's property itself... ?!
Regards,
Abdetu... -
How to use Heirarchical Tree to call others forms
Dear All:
I need to use a Heirarchical Tree in the MAIN Page to call ALL FORMs that I made. I mean when I click the node I can get the specified form.
Would you please provide me with an example how to make it.
CheersHi, Was you able to discover how to create a hierarchical tree to call other forms?
Thanks,
Warren -
Speeding up Heirarchical tree fetch
Hello,
I am currently running Forms 6i (Patchset 18) on Oracle 10g R2. I have a form which uses a heirarchical tree generated by a SQL. The form takes around 10 seconds to show the tree. And while the tree is being generated the whole window is inaccessible.
I have created appropriate Indices on the database to ensure the SQL is optimised.
Can anything be done to increase the speed of the tree fetch?
Regards,
Sudhamshu@Manu: I have optimised the query by providing appropriate indices. However, the speed of the fetch increased only marginally.
@Andreas:
Thanks for the link (to your blogpost) on Partial Loading. I shall try that and see how it affects the speed. I was trying to get something similar done. This is Helpful. Thank you. -
Hi,
I am trying to build a tree in a table.
I have built that and now am enhancing the application as per my needs.
What i want to achieve is the following:
The child rows each have a field namely Quantity which the user can change.
For that i first of all need the LeadSlection to fire the change for that particular row.
When i am getting lead selection, its basically showing me the row number within that tree...
For instance,
+ Row1
- Child1
+Row 2
- Chilld2
- Child3
If i choose Child 1 or Child2, value is 0 and if i choose Child3 value is 1...
So its basically taking the LeadSelection within the Parent row...
The idea i am trying here is to amend an attribute of one of the children (Child1, Child2, Child3)
So, how can i achieve this?
Lastly, wheneveri expand a node, say the number of elements is 2, i collapse the node and reexpand it.. and the number of children become 4 and so on...
i have set the ChildrenExpanded property to true onLoadChildren...
Lokking for guidance here..
Regards,
DevHi DB,
you are asking alot of thing and it´s like a job, you have to code a bit.
look here:
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/90dae990-0201-0010-d886-ef4afe418d1e
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/38650ecd-0401-0010-10a0-f9d8fd37edee
and search into SDN forum, there are also some topic where i posted some of mine example on tree usage. -
Developer 6.0.5.0.2 Forms
Windows NT4 Service Pack4
ORACLE 8.0.5 on sun solaris server
I am attempting to build a tree via a record group.
The property sheet for the tree asks for a record group.
What structure does the record group (or query that creates the
record group) need to be in to populate the tree?
Thankyou
nullHello-
I've been using Hierarchy Trees for a few weeks now and thought
I would be able to help you out a bit if you need it.
I've used queries, record groups, tables, views and cursors to
generate hierarchy trees of depths up to 5 levels.
To date, I've found that the table/view is the fastest way to
go. Of course, you need to create your hierarchy organization
in a flat file format in order to use a table or view as the
Htree's source (I used a big Union query with multiple reference
keys to keep things straight).
I've found that the more elements you auto-expand (initial state
value) the longer it takes to render the object. One Tree that
took over a minute to generate with all nodes expanded (5
levels) took only 3 seconds when only the top level (root node)
was expanded.
What I don't understand is why Oracle didn't create the tree in
a way that allows you to use a non-flat file arrangement for
your hierarchy data feed. Allaire created a nice hierarchy tree
control (using Java) in their Cold Fusion application (database
applications for the web) that allows you to write a single
query to feed the entire tree using the format
value="value1,value2,value3" Display="display1, display2,
display3" instead of doing each level on its own the way Oracle
forces it. Look into Cold Fusion if you're looking for a
comparable internet-based hierarchy tree control.
S-
Lakhbir Kang (guest) wrote:
: Developer 6.0.5.0.2 Forms
: Windows NT4 Service Pack4
: ORACLE 8.0.5 on sun solaris server
: I am attempting to build a tree via a record group.
: The property sheet for the tree asks for a record group.
: What structure does the record group (or query that creates
the
: record group) need to be in to populate the tree?
: Thankyou
null -
Error Message for Heirarchical Tree
Error : FRM-47321
Can I know more about this error message please. I get the error message when do the ftree.populate_tree.
Thanks in advance
MageshFRM-47321 error indicates that the data used to populate the tree is of improper format. Please look at the on-line documentation in Forms builder or Forms deployment guide for more details on using free built-ins.
-
Using tree - how to get upper levels
I create a heirarchical tree based on a couple of tables via a record group i create on the fly.
I then let the user attach documents to the tree nodes. The problem comes that the node may not exist in the database yet as they can build them as they go. So i need to insert all record on tree into table when they attach a document. I dont want to do this before as i am only interested when they are attaching documents - rather than storing all data that may never be used.
My problem is when they attach the document i want to find all levels in that particular tree to insert them.
i.e. if my tree is as follows
1
-1b
2
-2b
3
-3b
-3c
and the user attaches against 3c I want to insert 3 into the table, then 3b, then the document against 3b, so i need to find out what its uplevel is in this case 3.
How is best way to do this? i have NODE_DEPTH property - to know its not top level and NODE VALUE to know the value, and NODE_LABEL to know the description but how can i find my uplevel when its not stored in a table anywhere.Cant believe i never found that when searching forms help.
Thanks -
I am using Forms 6 to display a hierarchical tree strucure in a departmental application. I am able to use it for displaying the hierarchy but unable to do anything programatically with the tree. Could somebody help me please, with some insight - which would be much appreciated. Thanks in advance.
Hi Sumer!
U can do any thing with the tree programatically.
Tell me which tree u r using if it is activex provided by forms.
U can find all the methods and functions in the forms help search for Heirarchical trees topic.
Even u r facing any problem write me I will get u the solution.
Mayank Sharma
[email protected] -
How to create this Hieararchical Tree?
Hi All,
Please help me on this issue.
I need DRILL DOWN functionality in forms. Im trying to Study / Create Hierarchi Tree Concept in Forms 6i, but couldn't able to manage /Understand how to create this. Please any one could help me. and im giving my scenario also here, whether it can support or not.
Our routes having lot of terminals, like Our Bus travels from KENYA to SOUTH AFRICA passing TANZANIA,ZAMBIA,MALAWI,BOTSWANA countries. so i need the No of records to be dynamic i cant fix 10 records and scroll etc, Rather im trying to use Heirarchi Trees to achive this.
My Table is like this.
Table #1 Route_quotas
Route_no,terminal_name,quota_station_from,quota_station_to,no_of_seats,seat_no_start_from,seat_no_ending
Data is Like this:
1,GNT,GNT,HYD,10,1,10
1,GNT,GNT,VJA,40,11,50
1,VJA,VJA,KDD,10,11,20
1,VJA,VJA,HYD,30,21,50
I need data to be displayed / functoned like this. If One select Route_no 1 in a List_item. Down to that i should show which terminals having quotas in this route. those are.
GNT
VJA
Next ... If One selects this node like if one Expands GNT node the sub nodes should be like this having three coulmns (i.e quota_station_from,quota_station_to,no_of_seats columns)
GNT HYD 10
GNT VJA 40
Next again.. if One select the first subnode it should give ...the seat Nos
1,2,3,4,5,6,7,8,9,10 (please Omit the commas) and from there i should be able to select one seat_no and do some actions based on that. like RESERVE or ISSUE what ever i like. i need that Seat_no value.
GNT
........GNT HYD 10
................ 1 2 3 4 5 6 7 8 9 10
........GNT VJA 40
................11 12 13 14 15....50
VJA
........VJA KDD 10
................11 12 13 14 15 16 17 18 19 20
........VJA HYD 30
................21 22 23 24 ...... 50
Thanks in advance.Rama,
I would use nested PLSQL cursors to populate a record group and create the tree from there. This way you can also concatinate multiple values to show as a single name in a tree.
Frank -
How to Use Tree Structure in Forms (Expand & Collpse)
Hi ,
I need a logic to develop a Custom form which using tree structure fuctionality.It's like same in Indented Bills form (Module Bills of Material).
I have to use the symbol '+' and '-' in column called item_number ( if it has sub componentes, using that symbol i may explode or collopse).
I gone through the base form for that(indented Bill form(Form Name:BOMFQBIN, using BOMFMSTR library function to create Tree Structure)
but i colud not understand the logic.
If any one clarify me then it's fine
Thanks,
Srisee this thread
Re: Forms 60 Heirarchical Tree..Need Help -
Hello Experts,
I am creating a Heirarchical tree Report using class CL_GUI_ALV_TREE.
For getting the Heirarchical data of my requirement , I am using BAPI CL_GUI_ALV_TREE in which table E_WBS_HIERARCHIE_TABLE contain all of data.
I am stcuk , how to write the logic to use this data to build a tree, ( Data format in the table is : WBS_Elemant , Project Defination, Up , Down , Left , right).
Please suggest me the logic or any function module ( Or method) which uses this data to buld a tree. I am using ADD_NODE methos to add a node in the tree.
Thanks & Regards
MohitHi,
What needs to be done is import the data into a local table and then use that one to display your alv tree.
Try searching on sdn or google for similar code.
Manish -
Feature Request: Sort / Download
I frequently use MBSA to identify and download hotfix MSU files for installation on offline systems. However, there are two features which are lacking that would save a great deal of time.
Add a sort to the result details. This would make it much easier to download multiple KB's for the same security bulletin. For example, MS13-081 occurs up to 9 times in a single scan for each individual KB and they are spread throughout the
list. If you're going down the list then you end up opening MS13-081 separately all 9 times. If you could sort by the ID column then all of the same MS numbers would appear together and the page could be opened just once. A heirarchical tree
view could also work well with MS#/KB#
Automatic download of the MSU files would be truly awesome. Each link on the results menu requires navigating 4 to 5 different web pages plus the save dialog. The MBSA tool would be far more useful if it were capable of automatically downloading
the MSU and MSP files so that they could be burned to disc for use on offline systems.
MBSA already works great but these two features could significantly enhance the useability of the product.I created a Smart Mailbox as follows:
I named it Attachments.
Contains messages which match ALL of the following conditions:
Select Contains Attachments.
If you want to include all sent messages that contain attachments, select Include messages from Sent.
Not exactly what you are requesting but this Smart Mailbox has been helpful for me. -
hi...experts...actually am nt able to get "TOOLTIP" option for a heirarchical tree item( SPECIALLY IN ORACLE 11G FORMS)..so..can you help me out ..
It's an old forum that's not used anymore. It was before Oracle acquired WLS, and the plan at the time was for OC4J to be used with JDeveloper 11g. You can ignore the forum.
-
Hi, I was wondering if I could get some help on extracting course/session information from the ilearning schema.
We have in ilearning a number of courses which have nested levels of categories/folders followed by offerings i.e the scorm item. The data is viewable as tree heirarchical tree structure in ilearning admin screens
What I am trying to do is collate the nested structure into a single record for each scorm item i.e. offering
For example Driving Test/Highway Code/Signs would be a common structure I would be looking to obtain althougth the levels could be more than the 3 I have specified.
I have identified the follwing ilearning tables as possible areas to query:
OFFERING
CATEGORY
OFFERING_CATEGORY
CONTENT_OBJECT
CATEGORY_TREE_XREF
OFFERING_CONTENT_OBJECT
FOLDER
However, I have been unable to successfully retrieve the information based on the example above.
Any help would be greatfully appreciated as I am in need of a solution imminently.
ThanksHi there,
Got this worked out. Ideally it's best if categories are assigned at the course object level (select the object in the tree on the left hand side then More->Categories and assign from there, as you only have to do it once for each course rather than assigning categories for each offering of the same course).
Category Structure by Course (content object)
Parameter: Content Object ID
select
rco.id rcoid, rco.title course_title, cat_structure.cat_path
from
content_object rco,
content_object_category coc,
select cat.child_id,
cat.name,
cat.parent_id,
ltrim(sys_connect_by_path (replace(cat.name,' / ',' - '),' / '),' / ') cat_path
from
(select id child_id, name, null parent_id
from category
where id IN
/* get all top level categories */
(select cat1.id
from category cat1
where
not exists
(select 1
from subcategory subcat
where cat1.id = subcat.child_id
union all
select subcat.child_id, cat.name, subcat.parent_id
from subcategory subcat,
category cat
where cat.id = subcat.child_id
) cat
start with cat.parent_id is null
connect by prior cat.child_id = cat.parent_id
) cat_structure
where
rco.id = coc.content_object_id and
coc.category_id = cat_structure.child_id and
rco.id = &rcoid
Category Structure by Offering
Parameter: Offering ID
select
rco.id rcoid, rco.title course_title, o.id offeringid, o.name offering_name, cat_structure.cat_path
from
content_object rco,
offering o,
offering_category oc,
select cat.child_id,
cat.name,
cat.parent_id,
ltrim(sys_connect_by_path (replace(cat.name,' / ',' - '),' / '),' / ') cat_path
from
(select id child_id, name, null parent_id
from category
where id IN
/* get all top level categories */
(select cat1.id
from category cat1
where
not exists
(select 1
from subcategory subcat
where cat1.id = subcat.child_id
union all
select subcat.child_id, cat.name, subcat.parent_id
from subcategory subcat,
category cat
where cat.id = subcat.child_id
) cat
start with cat.parent_id is null
connect by prior cat.child_id = cat.parent_id
) cat_structure
where
rco.id = o.content_object_id and
oc.category_id = cat_structure.child_id and
oc.offering_id = o.id and
o.id = &offeringid
Enjoy!
Scott
http://www.seertechsolutions.com
Maybe you are looking for
-
How to select several values from a user exit variable in a planning folder
Hello, I have created a user exit variable for limiting the values only to which the user need to access. For a simulation part, it is then necessary for him to select several values from these values (not only one, and not all) But It seems in this
-
I've had no luck finding it . I ALWAYS have it in my back pocket in school , but someone got smart and decided to take it . I kind of narrowed it down on who stole it , well... not really. I have a passcode on it ... Is it possible that Apple can sti
-
SOURCING10: Passing parameters to a Query Based webservice using JAVA
Hi Experts, I have been working on consuming a Query based webservice published in Souricng10 in a simple JAVA class. The query has a filter parameter which is not mandatory. I am able to consume the webservice using the GET method and display the co
-
If I buy a new hard drive, or format my current one and reinstall my OS and Adobe apps, will this count as installing on a 'second computer'? If so, how then do I go about ACTUALLY installing the apps on a second computer if I'm unable to 'de-registe
-
Add photo to existing film roll
Hi all, My question relates to adding photos into an existing film roll. I have some motion jpeg movies taken with my still camera that were not imported to iPhoto when the original folder was imported. Don't remember why unless older versions of iph