The smile was implied :-)
I dunno what I was thinking......
>Forgot to include a smile with my last post.... :-)
>
>>Hola --
>>
>>Hay muchas FAQs aqui que dice que quieres.
>>
>>>Hi all,
>>>
>>> I have a textbox in my form, and i have written validations on that, but i want if it returns false value, it should remain in that field only. But if i do it in valid event, it does not allow me to do anything, i must write valid value in that. i cannot press cancel button also, or i cannot open another form for master entry etc.
>>>
>>> If i written code like if value is false then 'this.setfocus()' But it doesnot sets the focus to the same field
>>>
>>>PLEASE HELP
>>>
>>>TIA
>>>Amit
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05