Hi everyone,
After numerous failed attempts at this I am now trying again to solve
this problem. I really would appreciate ANY help as I have been
stumped with this for weeks and weeks!
I have a form (frmappointments) through which I create an appointment
item in my outlook calendar, (and save the appointment to
tblappointments in my database). The appid in my table is set to match
the entryid of the outlook appointment item, using this code;
APPID = objAppt.EntryID
So each of the appointments stored in my database table has a unique
id that matches the unique id of the corresponding appointment in
outlook.
If my user needs to edit an appointment stored in the db (and outlook)
I want them to be able to do this via the db (not to go to outlook
directly and open and edit the appointment as this will cause
complications in editing the db record of the appointment).
I think the way to do this is;
1.
Select the appointment in the db to be edited (eg by clicking an edit
button)
This would start a search of the outlook appointments to find the one
with the matching ID
When the matching appointment in outlook is found it is deleted
Then the appointment form in my db is opened and appointment is
displayed and can be edited
After editing the user can resend the appointment to the outlook
calendar
The old appointment APPID would be updated to match the new ID created
by outlook
If you understand any of this waffle please help, specifically I have
no idea where to start with the code for the search of the outlook
appointment.