Refresh the tree [message #78420] |
Fri, 22 February 2002 05:41  |
Srinivas Konda
Messages: 29 Registered: October 2001
|
Junior Member |
|
|
Can somebody send me the sample code or oracle supplied navwiz.fmb form to refresh the tree.
Thanks in advance.
|
|
|
Re: Refresh the tree [message #78423 is a reply to message #78420] |
Fri, 22 February 2002 08:53  |
Srinivas Konda
Messages: 29 Registered: October 2001
|
Junior Member |
|
|
I got the answer. I just want to share it with you guys.
1).Delete the record group.
Delete_Group('TREE_GROUP');
2).DELETE The ROOT_NODE so that it deletes the entire tree.
PROCEDURE delete_all_nodes IS
htree ITEM;
BEGIN
-- Find the tree itself.
htree := Find_Item('HTREE.TREE');
FTree.Delete_Tree_Node(hTree, ftree.root_node);
END;
3).Re POPULATE The TREE;
(Basically When-New-Forms-Instance Trigger code);
|
|
|