why this tree didn't work correctly ? [message #322229] |
Thu, 22 May 2008 18:52 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](/forum/images/custom_avatars/105257.jpg) |
Hany Freedom
Messages: 256 Registered: May 2007 Location: Egypt
|
Senior Member |
![hanyfreedom2007](/forum/theme/orafaq/images/yahoo.png)
|
|
I attached the file , download it and test it.
I just made pushed button with when-button-pressed trigger :-
declare
nn number;
gg recordgroup;
begin
gg := CREATE_GROUP_FROM_QUERY('gg','select -1 , level , ename , null , empno
from emp connect by prior mgr = empno
start with emono = ( select min(empno) from emp )');
nn:=populate_group(gg);
ftree.set_tree_property('TREE4',ftree.record_group,'gg');
end;
and in run-time when I press the button give me that error :-
FRM-41072 : cannot create Group gg
and when I press OK give me this error:-
FRM-41076 : Error populate Group
and of course the tree didn't appear.
I just want to know what's the wrong here ?
-
Attachment: TREE.fmb
(Size: 44.00KB, Downloaded 1017 times)
|
|
|
|
|
|