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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp menu from one table

Status
Not open for further replies.

struth

Programmer
Aug 26, 2001
114
GB
I have an access table with the fields id/parentid/level from which I want to create a tree menu that will diplay like this:
in brackets(parentid,level)

Item-A (-,1)
+item-B (A,2)
++item-G (B,3)

+item-C (A,2)
++item-D (C,3)
+++item-I (D,4)
++item-H (C,3)

+item-E (A,2)
+item-F (A,2)


I can get close by creating sibling and child recordsets and nested repeats but it never quite works as I really want it to as the family tree relationship must be paramount. Anybody got any ideas?

TIA
Struth

"Away from the actual ... everything is virtual"
 
Yeah, I think I might be able to adapt this.

Thanks



"Away from the actual ... everything is virtual"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top