Contact Item Follow Up Field

R

Remus

Outlook 2000
I have been writing some VB code to copy information from one contact item
to another in a public folder. The code looks for duplicate "FileAs" names
and copies data from the body and from some custom fields. However I cannot
seem to find how to access the Follow Up field for a contact item. The
FlagStaus, FlagRequest and FlagDueBy properties seem to only to apply to a
MailItem. Any ideas on how I can copy these fields in VBA.
 
K

Ken Slovak - [MVP - Outlook]

Those fields aren't easily accessible and not from the Outlook object model.
You'd have to use CDO 1.21 (optional installation with Outlook 2000 and
later) or Extended MAPI (C++ or Delphi code only) or Redemption (3rd party
library located at www.dimastr.com/redemption).

You can find the property tags you will need to get ReminderSet,
FlagRequest, FlagDueBy, ReminderTime and ReminderMinutesBeforeStart from the
tags for contacts and tasks at www.cdolive.com/cdo10.htm. Where a contact
tag isn't listed it's the same as for a task item.

In the case of a contact reminder the FlagDueBy and ReminderTime values
would be the same and ReminderMinutesBeforeStart always equals 0.

You can also use OutlookSpy (www.dimastr.com) to view those properties when
you add a reminder to a contact or other type of item.
 
R

Remus

Thanks for that.

Ken Slovak - said:
Those fields aren't easily accessible and not from the Outlook object model.
You'd have to use CDO 1.21 (optional installation with Outlook 2000 and
later) or Extended MAPI (C++ or Delphi code only) or Redemption (3rd party
library located at www.dimastr.com/redemption).

You can find the property tags you will need to get ReminderSet,
FlagRequest, FlagDueBy, ReminderTime and ReminderMinutesBeforeStart from the
tags for contacts and tasks at www.cdolive.com/cdo10.htm. Where a contact
tag isn't listed it's the same as for a task item.

In the case of a contact reminder the FlagDueBy and ReminderTime values
would be the same and ReminderMinutesBeforeStart always equals 0.

You can also use OutlookSpy (www.dimastr.com) to view those properties when
you add a reminder to a contact or other type of item.
 
Top