Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validating only on updated fields
Message
 
 
To
13/04/2000 12:09:30
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00359325
Message ID:
00359345
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform