Hi
I am making an event sink triggering on onsyncsave. In thi s one I want to change a property of the object being saved (i.e. appointment item). When I try to save using ADO recordset it goes into an endless loop (Event sink fires again). If I try using CDO.Appointment it does not save the changed value, if I call Appointment.Fields.Save then i get an access denied error. The field I am trying to change is
from 1 to blank.
I am uncertain of how to use transaction, EVT_SYNC_BEGIN and EVT_SYNC_COMMITED to accomplish it. I have spend a lot of time on this issue :-(
I am making an event sink triggering on onsyncsave. In thi s one I want to change a property of the object being saved (i.e. appointment item). When I try to save using ADO recordset it goes into an endless loop (Event sink fires again). If I try using CDO.Appointment it does not save the changed value, if I call Appointment.Fields.Save then i get an access denied error. The field I am trying to change is
from 1 to blank.
I am uncertain of how to use transaction, EVT_SYNC_BEGIN and EVT_SYNC_COMMITED to accomplish it. I have spend a lot of time on this issue :-(