Sent Date not printing.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a custom form. I am using Word to print out the form.
Everything is fine except for the Sent Date field. It displays properly on
the form but when I print it out, it is coming out 'True' (on a Sent item) or
'False' (on a New item). This makes me think it is picking up a Sent
indicator (whether the e-mail has been Sent) rather than the Sent date.

I created the form field by using Sent on the Field Chooser. All my other
fields (Subject, To, From) print out fine. Is there some other field I
should look at to get Sent Date?

Here is my code:
oDoc.FormFields("SentDate").Result = Cstr(Item.Sent)

I am using Outlook 2002 SP3.
Thanks.
 
Perfect! Thank you.

Sue Mosher said:
Wrong property. Use SentOn, not Sent.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top