Home » Developer & Programmer » Forms » Refresh the tree
Refresh the tree [message #78420] Fri, 22 February 2002 05:41 Go to next message
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 Go to previous message
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);
Previous Topic: Re: HOW TO Retreive data to a tabular form (URGENT PLS HELP)
Next Topic: Re: designer 6i repository installation
Goto Forum:
  


Current Time: Sun Jul 12 15:47:05 CDT 2020