Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Parent-Child-Grandchild...
Message
From
01/03/2001 11:19:30
 
 
To
01/03/2001 10:38:09
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00480544
Message ID:
00481001
Views:
13
Doh! I was afraid that this is what you wanted! :)

I don't know of any simple way to get that information. You could keep doing LEFT OUTER JOINs for, say, 5 generations, but that would be an arbitrary limit.

Maybe you could check at the Solutions example on the treeviews. It might give you another insight as to how to display your data.

>OK, Sylvain, we are almost there. Thanks very much for your help.
>
>What I need now is:
>
>SQL 1 must return multiple generations: ie children, grandchildren, greatgrandchildren, ...
>
>SQL 2 must return multiple generations of ancestors: ie parent, grandparent, great-grandparent, ...
Sylvain Demers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform