Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Questions about data manipulation
Message
De
21/08/2000 08:32:00
 
 
À
21/08/2000 04:45:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00407219
Message ID:
00407254
Vues:
22
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform