Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Complicated tree query
Message
From
10/10/2006 01:55:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Complicated tree query
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01160753
Message ID:
01160753
Views:
56
Hi, i have a table with two fields: id, parentid and name and with this i need to create a query where it shows the childs of the parents and so on. For instance

ID PARENTID NAME
3 LUCIA
4 3 JOHN
5 3 SANDRA
6 4 CARLOS
7 4 NANCY

this should be displayed and reflected in the code according if i choose lucia or sandra (for instance)

Thx.
Next
Reply
Map
View

Click here to load this message in the networking platform