>I'd like to know i a Object exist on my form when I call it.
>For Example: I'd like to know if "command1" exist
IF TYPE("thisform.command1") == "O" AND !isnull("thisform.command1")
*** object exists
ENDIF
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