>How come TYPE("goDB") returns T_OBJECT? If the environment recognizes the object already in existence, why can't it open the database? I can deal with your response and can add it to each instantiation of a form. I guess I just don't understand why if the object already exists (but maybe it's a MS illusion)
>it cannot seem to funtion.
>
>Steve
Steve,
First thing is that goDB may be type O and yet have a value of NULL, so checking type is not sufficient to find out if the object really exists. Chceking TYPE("goDB.Name") for a type of C is better as if the value of goDB is NULL the type of its Name property will be U.