>>I don't have an idea about the purpose of the code nor the FAQ entry.
>>You don't need to set it to null as long as it's local. I've used it in many places and versions with no memory leaks. However since you're checking object name you might even make it shorter usign lower(justext(sys(1272,sys(1270)))).
>>Cetin
>>
>
>Thanks. I thought the purpose of the code is very clear from itself and its description. It allows to Cancel validation. In the textbox valid I put code
>
>local llReturn
>llReturn = .t.
>if not thisform.CancelValidation()
> test for validity of the Data Entry
>endif
>
>return m.llReturn
Might be, I don't know:) I don't use valid but lostfocus.
Cetin