Error:The operation cannot be performed because the message has been changed

S

s

hi!



I've customized Contact form for OL-2003.I'm calling a procedure
Savedata
in Item_Write() in which I need to retiieve userproperties of
contactitem
and save them to database.Code is
dim c as outlook.contactitem



Set c = ActiveInspector.CurrentItem
---retrieving some userproperties of c in local variables
c.save ---to get entryID As I need to store it in database
varEntryId=c.EntryID
---saving userproperties of c and EntryID in database

for the statement c.save ,sometimes I get the error stating that
"The operation cannot be performed because the message has been
changed"
What is the reason behind this error?how to fix it. I also get the
error
"The item could not be saved because it has been changed by another
user or
in another window.Do you want to make a copy in the default folder for
the
item?" Are these two errors interrelated? Why do they occur normally?



Thanks in advance!
 

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