Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validating only on updated fields
Message
 
 
À
13/04/2000 12:09:30
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00359325
Message ID:
00359345
Vues:
14
If it's buffered you could check GetFldState("field") and if it hasn't changed, always return .T.; otherwise check it.

HTH.

>I'm converting an FPW 2.6 app to VFP6. The FPW 2.6 app uses the :V option of a browse window to validate fields. This function only fires on a changed value. In the VFP6 form, the field is in a grid and uses the valid event however this fires everytime the field is exited. I am wondering about the best way to keep the functionality of the original app without using commands like UPDATED(). IOW to validate only if the field has changed. VFP says UPDATED() is included for backward compatibility so I want to avoid this command.
>
>Can anyone tell me how they handle this situation?
>
>TIA
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform