Article ID: 290658 - Last Review: November 24, 2006 - Revision: 6.5 How to programmatically import Outlook items from AccessThis article was previously published under Q290658 On This Page
For a Microsoft Outlook 97 version of this article, see 170320
(http://support.microsoft.com/kb/170320/
)
.
For a Microsoft Outlook 98 version of this article, see 180981
(http://support.microsoft.com/kb/180981/
)
.
For a Microsoft Outlook 2000 version of this article, see 208232
(http://support.microsoft.com/kb/208232/
)
.
SUMMARY
This article provides an overview and sample code for creating Microsoft
Outlook contacts from information stored in a Microsoft Access database. The sample code in the More Information section of this article
should be run from a Microsoft Access global module and provides a
starting point for the development of a complete solution.
MORE INFORMATION
The Import and Export feature in Outlook does not allow you to import or
export information in user-defined fields (or properties). To import
information into these fields, you may need to create a programming
solution that uses Automation to convert the information. The following sample code specifically converts information from Access into newly-created Outlook contacts, using Data Access Objects (DAO). With modifications, you can use this code as a basis for creating other types of Outlook items, such as appointments, notes, tasks, and such. There is also an overview and separate code example available on the Microsoft Web site at the following location. It is the first example in the whitepaper. http://msdn2.microsoft.com/en-us/office/aa905351.aspx
(http://msdn2.microsoft.com/en-us/office/aa905351.aspx)
Programming Considerations
If you have limited programming experience, you may want to contact a Microsoft Certified Partner or Microsoft Advisory Services. For more information, visit these Microsoft Web sites: Microsoft Certified Partners - https://partner.microsoft.com/global/30000104 (https://partner.microsoft.com/global/30000104) Microsoft Advisory Services - http://support.microsoft.com/gp/advisoryservice (http://support.microsoft.com/gp/advisoryservice) For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS (http://support.microsoft.com/default.aspx?scid=fh;en-us;cntactms) Sample CodeREFERENCES
For additional information about exporting data from Outlook to Access, click the following article number to view the article in the Microsoft Knowledge Base:
290792
(http://support.microsoft.com/kb/290792/
)
How to programmatically export Outlook items to Access
For additional information about available resources and answersto commonly asked questions about Microsoft Outlook solutions, click the article number below
to view the article in the Microsoft Knowledge Base:
287530
(http://support.microsoft.com/kb/287530/EN-US/
)
OL2002: Questions About Custom Forms and Outlook Solutions
| Article Translations
|
Back to the top
