>I have a need to create a tree view list from the contents of a DBF. Is there someone who has already done this successfully? Individual or third party? I hate reinventing the wheel if someone has alrdy done this!
>
>Thanks for any help!
>Grover Cox
There is a sample in Visual FoxPro samples.
Each record needs its key, as stated in another reply to your post, but each record also needs a pointer to its parent (the one that contains it). This pointer = 0 for top-level entries.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)