Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RI Code
Message
From
19/05/2003 10:13:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00789968
Message ID:
00789994
Views:
28
>Hello,
>
>we are using referetial integrity in out DBC. Works pretty fine. We now need to put in a own stored procedure wich is triggered by an existing RI Trigger but does things you can't do with RI.
>
>We ended up with try and error, when putting own code in.
>
>Is there any documentation about the RI Code procedures that VFP uses and what they do. We need to use them to get things running but are really in lack of information.
>
>
>Marcus

I suggest you use an alternative RI, for example TaxRI, which is much easier to understand, and gives you several additional options.

Why do you need to mess with the RI? Usually, you can just add functions like this:

If your RI-code is: __ri_MyTable_Update()

You convert it to: __ri_MyTable_Update() AND MyAdditionalFunction()

The second function will only be called after the RI works successfully.
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
Next
Reply
Map
View

Click here to load this message in the networking platform