Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if an object exists
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00098172
Message ID:
00098393
Vues:
42
Richard,

This is the udf I use:

* IsObject.prg
lparameter roObject
return( ( type( "m.roObject" ) == 'O' ) and ( ! isnull( m.roObject ) ) )

>So the test I chould have used is:
>IF type( "o1" ) != "O" OR (type( "o1" ) = "O" AND ISNULL(o1))
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform