Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I check of a txt box value has changed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00129277
Message ID:
00129285
Vues:
21
>Is there a fuction to tell me if a text box value has changed during an edit. I show data on a form with all the txt boxes disabled. The user can hit an EDIT command button that then enables all txt boxes and then a SAVE or CANCEL button. I know of several ways to do it programmatily but is there an easy way?
>
>Thanks in advance.
>John.

John,

You can subclass the text box and create a new property that could either be set to some value by interactivechange or set the property to the current value before edit then compare it to the value after edit. Or you could do the check at the database level using table buffering and GETFLDSTATE(),OLDVAL(),NEWVAL().

Eric K.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform