Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Interop / February 2004

Tip: Looking for answers? Try searching our database.

CDO Updating Outlook Contact information

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Galt - 06 Feb 2004 23:38 GMT
I have written a routine that reads Outlook contact information via CDO.
In the contact(in the Body Text)  is a log of activity.

I read this data in and display it in a grid. So far so good.
After I take a new action (Send Auto fax) I want to update the body text to
say "2004-02-06 - Sent Auto fax".
I set a variable called  BodyComment to this text.

I start a new Mapi Session and Find the contact in the proper folder.
I update CdoPR_BODY with BodyComment . i.e.
               Objfields.Item(CdoPR_BODY).Value = BodyComment & vbCr & vbLf
& Objfields.Item(CdoPR_BODY).Value
               objmessage.Update

When I refresh my grid the text is there.  So far so Good.

The problemn is that when I go into Outlook and look at the body, in the
Outlook contact form, there is NOTHING there.

Anybody have a clue?
John Galt - 07 Feb 2004 01:47 GMT
I also have the same issue with cdoPr_Reply_time.

> I have written a routine that reads Outlook contact information via CDO.
> In the contact(in the Body Text)  is a log of activity.
[quoted text clipped - 16 lines]
>
> Anybody have a clue?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.