IF VARTYPE("SomeVariable") <> "U" * Variable exists IF VARTYPE("SomeObject") = "O" AND NOT ISNULL(SomeObject) * Object exists ...>I have in mind that VFP has a function to test if a variable or object exist. I'm trying to locate it in the help file but I can't.