EntryID question

  • Thread starter Thread starter Jeff Mowatt
  • Start date Start date
J

Jeff Mowatt

I'm using OL2000 in an attempt to create an array holding dates of
Appointment recurrences.

Building a collection of Appointments items I want to restrict the EntryID
such that I only see those that are recurrences of the one I have just
saved.

I've tried oColl.Restrict("[EntryID] = '"&item.entryid&"'") and variations
of this syntax but cannot get the statement to be accepted as valid my
statement also fails in the Start() method.

The sort method doesn't work either "[EntryID]" is invalid there too.

Yet I can read each item and compare using "oItem.EntryID = item.EntryID"
and get exactly what I expect.

I imagine that restricting the ID of the appointments would be more
efficient, but is it possible?

TIA

Jeff Mowatt
 
EntryID is not allowable in a Restrict or Sort clause.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Back
Top