Why not get the custom tag to populate a tree structure instead of a
query? Then you can write another recursive custom tag to display the
data much more easily.

-----Original Message-----
From: Joe Sheble aka Wizaerd [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 08, 2001 5:41 PM
To: CF-Talk
Subject: Hierarchial Display


I am able to retrieve hierarchial data just fine using a nested custom tag, 
and this tag populates a query for me with the data.  However, I'm having a 
real problem with trying to figure out how to display it.  Here's an 
example of the data:

00000325 - Thomas - Graf -
00000645 - Robert - Nudo - 00000325
00001392 - Joseph - Sheble - 00000325
00000937 - Kimberly - Walters - 00001392
00000674 - Lisa - Perez - 00000937
00001450 - Jerome - Horowitz - 00000325


And I'd like it displayed thus:

00000325 - Thomas - Graf -
- 00000645 - Robert - Nudo - 00000325
- 00001392 - Joseph - Sheble - 00000325
---- 00000937 - Kimberly - Walters - 00001392
-------- 00000674 - Lisa - Perez - 00000937
- 00001450 - Jerome - Horowitz - 00000325

However, there's no limit to the hierachy depth...  any ideas?


Joseph E. Sheble
[EMAIL PROTECTED]
========================
Wizaerd's Realm
http://www.wizaerd.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to