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!

Tree Region Example

EveApr 19 2013 — edited Apr 21 2013
Hi,

I'm using my apex.oracle.com workspace. I'm trying to create a tree region using the emp table. I'm using the typical wizard but when i run the page the tree is not displayed.

This is the query built by apex with the wizard.

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"

http://apex.oracle.com/pls/apex/f?p=41771:3:8143710593092:::::
This post has been answered by Tom Petrus on Apr 21 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 19 2013
Added on Apr 19 2013
6 comments
499 views