Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selective validation routine
Message
From
01/08/2000 08:09:36
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
01/08/2000 08:04:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00399160
Message ID:
00399193
Views:
15
>>Daryl,
>>
>>Some people put these types of checks in the code in front of the Save button (GotFocus) rather than the code leaving the text box.
>>
>>
>>>i have a form that has textboxes and commandgroups on it. one textbox is a reference box which needs a valid reference, that is working (i use the valid event). but my problem is if this box has the focus and i try to abort the entry by clicking on a cancel button, the valid of the textbox still runs which i want to stop.
>>>
>>>can any one help?
>>>
>>>thanks
>>>
>>>
>>>daryl
>
>
>You can also play a trick whereby the gotfocus event of one control validates the control that previously had the focus. This way it is easier to stop the cancel button from performing the validation.
>
>Mace

This is great, until the user decides to skip around in the entry form.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform