Outlook script can see deleted calendar items

  • Thread starter Thread starter Bob Schaettle
  • Start date Start date
B

Bob Schaettle

I'm running a VBA script that generates a report based on
a conference room calendar. A user has deleted an
appointment on the calendar, and it no longer shows up on
the Outlook client, but my script still sees it in the
MeetingRoomCalendarFolder.Items collection. Any ideas?

....is there a "deleted" field I need to look at?

....is there a "cleanup" process that needs to be run on
the Exchange database?
 
Ah, that changes things. An item in a recurring series is available as
part of the series and if you've set IncludeRecurrences then you will
get all instances of that recurring item.

You can see which items in a recurring series are deleted or whatever
by getting the RecurrencePattern and checking the Exceptions
collection of the recurring series.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm
 
**THANKS, KEN**
-----Original Message-----
Ah, that changes things. An item in a recurring series is available as
part of the series and if you've set IncludeRecurrences then you will
get all instances of that recurring item.

You can see which items in a recurring series are deleted or whatever
by getting the RecurrencePattern and checking the Exceptions
collection of the recurring series.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm


Bob Schaettlet said:
PS...the deleted appointment is one of a set of recurring
appointments.


.
 

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

Back
Top