Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One parent and Many children
Message
From
29/05/1997 14:55:40
 
 
To
29/05/1997 14:03:21
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00034072
Message ID:
00034139
Views:
40
>>>I have a master table that holds the name and ID for each entity in the database. The child tables (about 10) hold all of the information about each entity. I want to perform 1 query and retrieve all of the information about every matching entity and what table that information came from. Is this last part possible?
>>>thanks
>>
>>Are you planning to use a SELECT statement?
>
>Hopefully.

Then try this...
SELECT * FROM your_child_table,your_parent_table
WHERE your_parent_table->field_name ="what you want to match" and your_child_table->field_name = "what you want to match"

the FIELD_NAME in both tables have the same datatypes and lenths.
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform