Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting up RI (delete) in a many2many scenario
Message
De
19/08/1999 18:56:50
 
 
À
19/08/1999 18:32:54
Pierre Richard
Méthotech Canada Limitée
Kirkland, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00255579
Message ID:
00255606
Vues:
22
>Hi everyone,
>
>I have a parent (tableA - Media) with a child (tableB - media# = primary key of tableA) AND a parent (tableC - Document) with a child (TableB - Document# = primary key of tableC)
>
>In my case, when I delete a record in (tableA - Media), I should delete all references in (tableB - Media#/Document#) AND (tableC - Document).
>
>How do I setup RI designer (delete) when I delete a record in (tableA - Media)?
>
>Thanks
>
>Pierre

Why would you want to do this? Let me understand if I have your relationships correct. Table holds a foreign key to both tables A and C. So I could say that A is like a customers table, and C is like a products table, and B is like an orders table, that specifies which customer bought which product.

You are saying that when you delete a customer, you want to delete the product? I would think you only wanted to delete the order... I apologize if I am confused.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform