Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do we check for the existence of an object?
Message
From
15/07/1999 05:45:14
 
 
To
13/07/1999 15:54:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00240965
Message ID:
00241685
Views:
17
>
if type('myform.mygrid')='O' and not isnull(myform.mygrid)
>   *Object Exists
>endif
had trouble with this until I spotted your 'myform' inclusion. The secret is to include the full object reference (in my case "Cashbook.pageframe1.page3.grid1") rather than just "grid1". Then it works fine

Thanks

Harry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform