Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database and private datasessions
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00049960
Message ID:
00050749
Views:
24
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform