Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referential integrity
Message
From
22/06/2004 22:52:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
22/06/2004 15:56:20
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00916179
Message ID:
00916280
Views:
10
The built-in RI doesn't have this capability, but of course you can create your own triggers.

I think it would be easier to define a cascading delete, and the allow or disallow the deletion of records at the form level.

>VFP7 SP1
>
>Perhaps the topic has already been covered here before.
>
>Would it be possible in my App to process the deletion of records based on the user level?
>
>I mean if the user is the administrator and he wants to delete something then I do a cascade delete. If the user is not the administrator then I don't let him delete a thing if the referential integrity code determines that there are links elsewhere.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform