Re: Help with hierarchical tree

From: Marc Billiet <first.last_at_com.hydro.switch.this>
Date: Fri, 31 Aug 2001 13:17:32 GMT
Message-ID: <20010831.13173264_at_y1032960.hae.hydro.com>


Before populating the tree, you should populate the group:

DECLARE
  rg_tables RECORDGROUP;
BEGIN
  rg_tables := Find_Group('RG_TABLES');         

  IF Populate_Group(rg_tables) = 0 THEN
    ftree.populate_tree('TAB_HIERARCHY.TAB_TREE');   END IF;
END; I have no problems with expanding nodes, but we use Forms [32 Bit] Version 6.0.8.12.1 (Production).

Marc

>>>>>>>>>>>>>>>>>> Oorspronkelijk bericht <<<<<<<<<<<<<<<<<<

Op 2001-08-27, 6:26:27, schreef Tom Grenier <tom_at_sqlman.com> over het thema Help with hierarchical tree:

> Hi,

> First, if I place the sql in the DATA QUERY attribute of the tree item
> it does display the tree. However, if I move the exact same sql code to
> a RECORD GROUP, and then clear the DATA QUERY attribute of the item and
> populate the RECORD GROUP attribute with said created record group – it
> doesn’t error but I don’t get anything on the screen.

> Next problem, when I do use the DATA QUERY attribute and get a populated
> tree, when I click to expand a node I get the following error:

> ---- Start Error ------------------
> Microsoft Visual C++ Runtime Library

> Assertion failed!

> Tom
Received on Fri Aug 31 2001 - 15:17:32 CEST

Original text of this message