Item_Write Event on Appointment Item

T

tecktim.khoo

Hi I'm currently developing an outlook custom form which does 2 things

1) Adds an appointment in the exchange calender for a user
2) The same information entered into the appointment is recorded into a
SQL Server Database

Using the item_write event, the custom form works perfectly fine for
adding and updating existing appointments. However, when dragging an
appointment from one calendar to another user's calender in outlook,
the item_write event only fires once, subsequent modification to the
appointment item does not trigger this event until it is dragged back
to my own calender. Is there a fix for this problem?
Thanks!
 
T

tecktim.khoo

Hello Sue,

Thank you very much for your reply. It works very nicely!

Now, I seem to have another problem. When dragging the appointment from
one calendar to another, i use the Item.Parent.FolderPath property to
keep track of who the appointment is being assigned to and with this
information; I am updating the SQL database accordingly. However, when
the appointment is dragged into another person's calendar, the
folderpath property is updated with a GUID. How do I get the target
calendar which the appointment item is dragged into or retrieve the
user which is receiving the new calendar item?

Your help is very much appreciated.
 

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