Find by EntryID

D

Doug Lowe

Hi again,

I want to display a list of all contacts in a combo box, then retrieve the
selected contact when the user selects one. Rather than read all the
contacts each time, I'm caching the name and EntryID in a text file on the
user's machine. But I'm having trouble retrieving a contact by its EntryID.
Shouldn't I be able to do this with items.find, with the filter set to:

[EntryID] = "entryidstring"

Where the entryidstring was the saved value from the EntryID property of the
contact when it was cached? I get the error "The property EntryID in the
condition is not valid"

--Doug
 
D

Doug Lowe

Never mind, I just discovered the GetItemFromID method. I'm new at the
Outlook model, please be kind :)

--Doug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top