Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error when generating RI
Message
 
À
16/04/2003 15:51:03
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00778363
Message ID:
00778594
Vues:
23
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform