Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to detect if data has been changed?
Message
De
30/03/2006 09:27:44
 
 
À
30/03/2006 08:56:23
Randy Witt
Diamond Vogel Paints
Orange City, Iowa, États-Unis
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
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01109147
Message ID:
01109157
Vues:
27
I put code in the InteractiveChange event of form controls and set a form-level flag that indicates changes were made. The Save button is then enabled.

>Is there a "best practice" for determining if any values in a buffered table/view have been changed, in an nTier VFP application, plus reasons for doing so; i.e.:
>
>1. Using GETFLDSTATE()
>2. Using GETNEXTMODIFIED()
>3. Setting a "dirtybuffer" flag.
>4. ?
>
>Thanks,
>Randy W.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform