Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error if 'object not defined'
Message
 
To
06/05/2008 15:39:32
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01315416
Message ID:
01315417
Views:
13
>I check to see if my hidden scteen is an object.
>
IF TYPE('myobj')='O'
> An error occurs if the object is not defined.
>
>Is there a better way?
>
>Thanks, Randy

Try if VarType(myobj) = 'O'
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform