Hierarchical Form
594488Oct 17 2007 — edited Nov 6 2007Hi,
I designed a very basic form with one block, on item (hierarchical tree).
I also have a record group to select the data from the tree table.
Here's how I populate the item. I took the TREE.FMB form (from Francois Site) as an Example:
PROCEDURE Init_tree IS
HTREE ITEM;
V_IGNORE NUMBER;
node ftree.node;
BEGIN
-- Roles are disabled so you use the single record group --
HTREE := FIND_ITEM('BL_TREE.COMPONENT');
V_IGNORE := POPULATE_GROUP('RG_COMPONENT');
FTREE.SET_TREE_PROPERTY(HTREE, FTREE.RECORD_GROUP,'RG_COMPONENT');
END;
Even after firing this in WHEN_NEW_FORM_INSTANCE, no data shows up in the ITEM.
There are no errors.
Any clue why?
Thanks,
Marc.