Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check if a property is on a object
Message
De
31/07/2008 15:38:22
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01335595
Message ID:
01335618
Vues:
9
You are correct, Naomi,

after some more testing on my problem, I switched it to pemstatus() and works correctly. Now to fix my other problems. :D

I was too quick on the solution stars. Sorry, I can not give them to you. :(

Thanks for everyone's help
Beth

>It's a wrong approach. See my original reply for correct answer.
>
>You can use TYPE("myObject.myObject") = 'O' and !insull(myObjec.myObject)
>
>If you don't have your property defined VARTYPE will give you an error. That's why PEMSTATUS() function was introduced.
>
>>Thanks, that works great. Don't know why my brain is having a hard time with vartype these days. :)
>>>
>>>IF VARTYPE("myobject.myproperty") = "O"
>>>
>>>
>>>>
>>>>I need to check a object that started out as "empty" object for a specific property. Is there a way to do this without getting an error?
>>>>
>>>>TIA,
>>>>Beth
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform