Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Regarding my earlier question (Parent-child-gchild-etc) HELP ME PLS

Status
Not open for further replies.

KirkJewell

Programmer
Oct 6, 2000
54
GB
A much shorter question but essentially the same....

I want to create a parent-child relationship where the child is another record in the same file and be able to continue doing this ad-infinitum (29 levels would do).

A single Alias works for one level, but how do I display a treeview which can show many levels.

Any reply would be appreciated [sig][/sig]
 
i am using clarion for windows 5 and i have worked on tree control.. i think first you should define you files and their one to many relationship in the data dictionary and then in you app you should use list box in tree view and rest you will find it on the properties screen which will help you ... if you find any problem let me know.
 
I have not tried upto 29 levels but the way to do it i.e. if you do not want to do it manually is to create ALIAS files and relate the files i.e. something like Original File --> Alias 1 --> Alias 2 --> Alias 3 etc etc. Theoretically, it should work for 29 levels. If Trees are a important part of your application why don't you check out UltraTree Platinum ( which handles recursive relationships and allows excellent formatting of the Tree. There was also some article in the Clarion Magazine ( recently about Tree Browses.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top