>No nick Type("oApp") will return O if null But VARTYPE(oApp) will return X X meaning that the variable is null.
FYI, if you pass in the optional 2nd parameter to Vartype() as .T., it will behave exactly like Type() in this regard. If you don't pass the parameter, it defaults to .F. and returns X for NULLs.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao