Sent Date not printing.

C

Chris

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.
 
C

Chris

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top