Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Having trouble deleting Outlook task after a .Find()
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00823462
Message ID:
00823503
Views:
24
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()
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform