How do u find an EXISTING outlook APPOINTMENT item and update/delete it? With outlook CONTACTS, there are several fields that can be populated with a PK value. You can then search for this PK value and update the contact if found or add new if not found. Cant find any appointment fields that can be used in similar manner. Cant search on the appointment's start/end and subject fields cuz they could have changed in the VFP table.
At a minimum, i could set the Appointment's SUBJECT to include a PK value along w/ other text. I could then search for this PK value in the SUBJECT and update the dates if changed. Something like:
.Start = DTOT( meeting.dStart )
.End = DTOT( meeting.dEnd )
.AllDayEvent = .T.
.Subject = ALLTRIM(meeting.title)+ meeting.pkfield
.ReminderSet = .F.
.Save()
But how do u perform a search in the Subject field?
What is the syntax for deleting an appointment?