Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if an object exists
Message
From
09/05/1998 12:52:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/05/1998 12:46:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00098172
Message ID:
00098298
Views:
36
>>Hello Cetin,
>>
>>>Yes check type() and isnull().
>>It's enough to check TYPE([oControl.Name]) = "C", because all controls has the
>>Name property
>Yes Vlad,
>I didn't clarify, you're right.I meant type() and isnull() would be used to check
if type("oControl")="O" and !isnull(oControl)
Cetin
Ooops. Reading other replies I also learned that TYPE([oControl.Name]) = "C" was not enough and my oldie type()+isnull() is still the way to go despite some milliseconds (hope saves with failing in type() part).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform