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 19:25:03
Pierre Richard
Méthotech Canada Limitée
Kirkland, Quebec, Canada
 
 
To
19/08/1999 18:56:50
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00255579
Message ID:
00255622
Views:
21
Hi Erik,

Going back to the original post, a Media - tableA could have many Documents -tableC AND a Document - tableC could be on many medias - tableA; hence the many2many relation.

The business process says that when you delete a media - tableA you need to delete also all pertinent documents - tableC.

In order to put things in context:
a media is a container of documents ie: a folder, a disquette, a microfilm strip, etc.;
a document is a report, a letter, a memo, a picture, etc.

But since I have split the many2many relation with tableB I don't see how to setup the RI for the delete.


Thanks

Pierre
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform