From: Tom Pollard Date: 2006-12-22T03:37:22+09:00 Subject: Re: Tree view hierarchy On Dec 21, 2006, at 11:29 AM, Patrick Spence wrote: >> On the other hand, if you really just need that result, and the >> structure of your menu isn't ever going to have more than one parent >> level, you could also do something like the following: > > Unless I misunderstood... the Weight Management "root" node has > multiple "parent" level nodes. It has multiple 'parent' nodes, but only one parent level. The snippet I provided handles that. However, if a parent could contain one or more lower-level parents, rather than just leaves, then my code wouldn't work correctly anymore. (You could adapt it, easily enough, as long as each level was clearly labeled by type, but better to have general solution.) TomP