Walter Meester
HoogkarspelNetherlands
General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Hi denis,
You can use TaxRI (from the download section) to accomplish this.
You can use the _RiMode variable to force cascading updates or cascading deletes. See the remarks in the generated code.
BTW, TaxRi is far more efficient in producing Ri code. In large numbers of releations the size of Ricode might only be 10% of the VFP ri code.
Good luck,
Walter,
>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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only