Hi Chuck,
Nice to be of help even after a half of year after original response :)
Have you worked with John? I recall, he is from Florida too.
>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.
If it's not broken, fix it until it is.
My Blog