Focal Point
[CLOSED]Dynamically loading a true tree into a Mutli-Source Tree Control

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2237030196

January 10, 2019, 04:05 PM
Fernando
[CLOSED]Dynamically loading a true tree into a Mutli-Source Tree Control
  
DEFINE FILE CAR
BL/A20 MISSING ON=MISSING;
END

TABLE FILE CAR
SUM  FST.COUNTRY/A20 AS 'NM'
BY  BL AS 'PID'
BY  COUNTRY/A20 AS 'UF'
BY  COUNTRY/A20 AS 'CD'
ON TABLE HOLD AS HTR1
ON TABLE SET ASNAMES ON
END
-RUN

TABLE FILE CAR
SUM  FST.CAR/A20 AS 'NM'
BY  COUNTRY/A20 AS 'PID'
BY  CAR/A20 AS 'UF'
BY  CAR/A20 AS 'CD'
ON TABLE HOLD AS HTR2
ON TABLE SET ASNAMES ON
END
-RUN

TABLE FILE HTR1
PRINT
NM
PID
UF
CD
ON TABLE HOLD AS HTREE
MORE
FILE HTR2
END
-RUN

TABLE FILE HTREE
PRINT
NM
PID
UF
CD
ON TABLE PCHOLD FORMAT XML
END
-RUN


I am trying to load a multi source tree control. The above creates a tree that contains ENGLAND and JAGUAR as separate parent tree items, etc.

What I want is to have ENGLAND as the parent and JAGUAR as the child, etc.

What code do I need to do that?

Fernando

This message has been edited. Last edited by: Fernando,


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
January 14, 2019, 11:46 AM
FP Mod Chuck
Fernando

Since no one has been able to provide any guidance I suggest you open a case with techsupport.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats