Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting up RI (delete) in a many2many scenario
Message
From
19/08/1999 18:56:50
 
 
To
19/08/1999 18:32:54
Pierre Richard
Méthotech Canada Limitée
Kirkland, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00255579
Message ID:
00255606
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform