Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid Event
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00741764
Message ID:
00812357
Views:
14
Hello Nadya
Thanks so much for this response. It works like a charm. Now I can do my validation whenever I want. I am going to thank my good friend John too. These little tips&tricks is what makes the UT so great.

Thanks again, Chuck
PS...you should get some Gold Stars for this help!

>Hi Mohammed,
>
>I see, you already got a solution, but here is a FAQ by John Koziol, which works nicely for me: How to avoid Valid when a record is Canceled FAQ #7765
>
>One word of precaution - if your cancel button is located not on the form, but on some container, you should calculate position on the form still, so you should adjust the code a little bit.
>
>
>>Dear All,
>>
>>In textbox valid event i put this code that check if the code already exist
>>
>>if seek(this.value, 'Customer1')
>> return .f.
>>endif
>>
>>I want that when user press cancel button this valid event shouldn't fire.
>>
>>TIA
>>
>>Nafees
Extreme Programming = Plan -> Design -> Code -> Test
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform