>>Hi, all! Please answer which function can determinate does object (in my sample form) exists or not. Thank you. Andrew
>
>If you're checking on a object in a form, use the PEMSTATUS() function. If you want to know if a form exists, you can check the _SCREEN.FORMS collection.
Also you can check if
TYPE("thisform.myobject")= "O"
and check for !ISNULL(thisform.myobject)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison