Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error when generating RI
Message
 
To
16/04/2003 15:51:03
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00778363
Message ID:
00778594
Views:
21
>I don't know the exact answer to your question, but why don't you try my TaxRiBuilder available from the files section. It will run perfectly within VFP 8 and should also take care of additional function after the RI function in the INSERT,DELETE and UPDATE triggers.
>
>The TaxRiBuilder has many advantages over the normal Ribuilder. For example: it's more flexible, faster, creates compacter and more readable RI code, but is fully compatible with the standard RI builder.


Walter,

Thanks for the suggestion. I do like how your builder consolidates everything into one procedure.

However your RI builder does not work successfully with our data. Perhaps it's because of the number of tables and/or relations. I was able to generate the RI with TaxRIBuilder and not get the error that VFP8's builder produces. After the generation, I found that I was able to insert a record without a problem into a table with garbage data when a trigger violation should have been fired (i.e. the foreign key was intentionally invalid). This trigger fires perfectly with VFP7's builder having generated the RI.

Ready for other ideas??

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform