Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to create a report based on the selection of a node of a tree

user8966924Mar 28 2011 — edited Mar 28 2011
Hello,

I am new to Oracle Apex and I was trying to build a tree and also an interactive report based on the empno column of the emp table.

I have created a tree based on emp table. Now I want to display records of the employee selected in the tree.

Here is the tree query:

select case when connect_by_isleaf = 1 then 0
when level = 1 then 1
else -1
end as status,
level,
"ENAME" as title,
null as icon,
"EMPNO" as value,
null as tooltip,
null as link
from "#OWNER#"."EMP"
start with "MGR" is null
connect by prior "EMPNO" = "MGR"
order siblings by "ENAME"

Can anyone tell me step by step how to go from here?

I tried to follow the thread 4412987 but could not understand much from it.
This post has been answered by Vee on Mar 28 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 25 2011
Added on Mar 28 2011
8 comments
2,842 views