Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record validation rule problem
Message
 
 
À
12/01/2008 22:37:48
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
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:
01281400
Vues:
7
>>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.

That's a good idea and I was thinking about the same approach too, but it doesn't answer the original question.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform