Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Questions about data manipulation
Message
From
21/08/2000 08:32:00
 
 
To
21/08/2000 04:45:21
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00407219
Message ID:
00407254
Views:
20
>I actually need the transaction to be the parent and the customer to be the child (so when the transaction is selected, the pointer in the customer table is sitting on the right record). I know I can do it with a view, but can't it be done with a table to table relationship? and again, which would be more beneficial?
>

For a relationship:
Just set the relationship the other way, e.g.
USE customer ORDER id
SELECT 0
USE transactions
SET RELATION TO customer_id INTO customer

I prefer a view or a SELECT statement, which would bring the info together in one cursor.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform