Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When the record was really changed?
Message
De
27/07/2005 09:22:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01035985
Message ID:
01036177
Vues:
8
>My idea was to save the record with scatter name oPrevStateRecord and then compare with the current record. But since we're in the framework environment, the task is not that trivial...

Sure you can save with scatter name. On the other hand, VFP already saves a copy automatically, as soon as the user starts editing (which is what oldval() checks), and scatter name might be more difficult to integrate into the framework.

It should be a relatively trivial task to loop through all the fields in the current record, comparing every field's value with its oldval().
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
Répondre
Fil
Voir

Click here to load this message in the networking platform