Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record validation rule problem
Message
De
12/01/2008 22:37:48
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
12/01/2008 22:28:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01281395
Message ID:
01281399
Vues:
9
>Naomi:
>
>I'm aware that I can use a flag or remove the rule temporarily, BUT that means that I have to remember to execute something before doing a MODI STRU, and I could concievable forget. It would be better if there was somehow a way that the procedure could know that it is in the middle of a MODI STRU operation.

At Bata/Bolivia, I did all structural changes in an empty copy of the database, i.e., zero records per table. Then, I had a procedure that updated either my test data, or the data in the production database, basically doing an APPEND FROM for every table. This made it very easy to update changes to the database for the production database.

As part of this procedure, I disabled referential integrity (using TaxRI instead of standard VFP RI), and some triggers, through the setting of appropriate variables.
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform