A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , , , , ,

Manipulation Mail History in the Outlook and show it on the Access





 
 
Thread Tools Display Modes
  #1  
Old March 28th 07, 03:48 PM posted to microsoft.public.outlook.program_vba
Appache
external usenet poster
 
Posts: 2
Default Manipulation Mail History in the Outlook and show it on the Access

Hi,
I am working in the office and I am developing a program on Ms Access for
our recruiter. She wants to see e-mail history with the person she wants to
recruit so she can track what has happened during recruiting process. I have
a field that holds email address on the form. I want to take the email
address from this field and go to outlook send emails folder and find all the
email addresses that match with the email address in the field and show these
emails as links on the access form. When she clicks this email link outlook
will open this email and she can read what she received from that person in
the past.
--
Thanks
Ads
  #2  
Old March 28th 07, 07:54 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 804
Default Manipulation Mail History in the Outlook and show it on the Access

Do you want to use hyperlinks on your Access form, one for each e-mail? I
woudn't recommend this approach. What I would recommend is either of these:

1. Populate a listbox on the form with the subject line of all related
e-mails, with the EntryID value for the individual MailItem objects stored in
a hidden column

You can use the Restrict method of the Items collection from the Sent Items
folder (MAPIFolder.Items.Restrict) to filter messages for a particular
recipient ("[To] = 'John Doe'", or "[To] = '"). You may
need to use the AdvancedFind method to use DASL queries for more fine control
over the recipient values.

2. Put a button on your access form - "Show Sent Emails" that will create a
Search Folder on the fly with the criteria you set, and then open Outlook to
display it.


--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Appache" wrote:

Hi,
I am working in the office and I am developing a program on Ms Access for
our recruiter. She wants to see e-mail history with the person she wants to
recruit so she can track what has happened during recruiting process. I have
a field that holds email address on the form. I want to take the email
address from this field and go to outlook send emails folder and find all the
email addresses that match with the email address in the field and show these
emails as links on the access form. When she clicks this email link outlook
will open this email and she can read what she received from that person in
the past.
--
Thanks

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Task Form Manipulation Issue jcurcurato Outlook - Using Forms 1 December 1st 06 03:00 AM
How do i show all history on calendar from my b'berry on my lapto Persistent1 Outlook - Calandaring 1 November 19th 06 05:10 PM
Save deleted e-mail history in Outlook from being erased by Hotmai Fuzzy Outlook - Installation 1 May 4th 06 08:01 PM
Outlook Business Contact Manager Mail Merge History Sam Giraffe Outlook - Using Contacts 0 May 3rd 06 03:55 AM
address book manipulation turnbulldw@yahoo.com Outlook and VBA 2 March 22nd 06 09:27 PM


All times are GMT +1. The time now is 07:21 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Car Finance - Loans - Virtual Pets Blog - British Article Directory - Finance