ID: Q196509
The information in this article applies to:
When you use the AutoAccept sample script (or any code that uses CDO) to accept meeting requests, the AppointmentItem that is saved to the attendee's calendar does not retain the value in the Categories field.
Not all of the fields are copied over when a meeting request is accepted programmatically.
Set the Categories field of the AppointmentItem programmatically after you accept the meeting request. The following sample code demonstrates how to do this:
' The following code assumes that objMeeting is a valid meeting request
' object, that is, objMeeting.MeetingType = CdoMeetingRequest.
Set objMeetingResponse = objMeeting.Respond(CdoResponseAccepted)
objMeetingResponse.Text = "OK, I'll be there"
objMeetingResponse.Send
Set objAppointmentItem = objMeeting.GetAssociatedAppointment
objAppointmentItem.Categories = objMeeting.Categories
objAppointmentItem.Update
Additional query words:
Keywords : kbcode kbCDO120 kbCDO121 kbMsg
Version : WINDOWS:1.2,1.21
Issue type : kbprb
Last Reviewed: December 2, 1998