Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Having trouble deleting Outlook task after a .Find()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00823462
Message ID:
00823503
Vues:
22
Yep, that also does it. Thanks!

For anyone lurking, it is worth noting that the syntax of my .Find statement gets garbled when posted as HTML. It's one of those cases where it's great to have all 3 ways in VFP to enclose a string. However, the outer single quotes shown in this HTML posting should be changed to double quotes if you want to use something like this.
 oTask = oFolder.Items.Find( "[Subject]='Find Me'" )
>Kelly,
>
>The '=' prefix shoul eliminate the error.
  = ot.Delete()
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform