in reply to Outlook Ole Find method

I haven't had to Outlook for a few years now, so I'm running from memory here, but try

... $items->Find( "[EntryID] = \"$entryID\"" );

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
If I understand your problem, I can solve it! Of course, the same can be said for you.

Replies are listed 'Best First'.
Re: Re: Outlook Ole Find method
by banduwgs (Beadle) on Aug 05, 2003 at 13:27 UTC
    It seems nice to activate in my code, Unfortunately doesn't work properly. It seems a problem in filter string

    "[EntryID] = \"$entryID\"".

    I want to do it with multiple properties such as Subject, SenderName, etc.
    If you have further clarification or anyone else...?

      If I recall, the basic syntax is

      ... $items->Find( '[Subject] = ' . $subject1 . ' or [Subject] = ' . $subject2 . ' and [SenderName] = ' . $sender );

      You'll need to look up the MS docs for the list of available categories and the full syntax. My memory isn't what it once was:)


      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
      If I understand your problem, I can solve it! Of course, the same can be said for you.

        Alright, It works fine! Thanks a lot for you and all others help in the matter - SB