General information
Category:
Forms & Form designer
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only