Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More Lotus Notes e-mail questions.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00391154
Message ID:
00395834
Vues:
39
Hi Kevin,
GetFirstItem returns an object variable whether it finds a NotesItem with that name or not. The difference being the object is a NULL object (VFP) or Nothing (VB/LotusScript) if it doesn't exist. You have to make the ISNULL() check when using TYPE().

Later.

>Hmmm, Have to think about this. Looking at the old code:
>
> oSendTo = loDoc.GetFirstItem("SendTo")
> IF type("oSendTo") <> "O"
>
>Wouldn't type("oSendTo") = "O" if there was already a recipient and = "U" in all other cases? I guess I need to get my Hacker's Guide out and read about Vartype() and Type().
>
>Kevin

< snipped >
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform