I would like to know how to export Access record items to an Outlook contact folder in such a way that the parent-child relationship in Access between a Company record and one or more POC records can be preserved/restablished. Does anyone know how this can be done? I think it has something to do with the Links property of a contactitem, but I am unsure. TIA.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Creating Outlook XP Contacts from Access XP (XP)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Creating Outlook XP Contacts from Access XP (XP)
- This topic has 11 replies, 2 voices, and was last updated 21 years, 1 month ago.
AuthorTopicWSdickwhite
AskWoody LoungerMay 14, 2004 at 2:18 pm #404917Viewing 1 reply threadAuthorReplies-
WBell
AskWoody_MVPMay 15, 2004 at 1:44 pm #827716As best I can tell, setting the links property for a contact doesn’t do much of anything in Outlook. BTW, what exactly is a POC record? The basic challenge with Outlook is that it isn’t inheritly a relational database, so linking things together is a cumbersome project at best. Using Automation from Access, you should be able to set the links property, assuming it is exposed by the object model, but it’s not something I have played with.
-
WSdickwhite
AskWoody LoungerMay 16, 2004 at 3:38 am #828008Thanks for your response. POC stands for Point of Contact. In Access I have two tables. One for Companies and one for POCs. There are cases where someone can be the POC for more than one company. In Outlook for a Contact, I can select one or more contact names to be associated with particular contact. I want to create an Outlook Contact folder, add the company records to it, and then add the POC records. When I add the POC record, I would like to populate the ‘Contacts…’ field I see on the Outlook Contact form, with the Company the POC is associated with. I am unsure of which field in the Outlook object model I should be using and how.
-
WBell
AskWoody_MVPMay 16, 2004 at 8:39 pm #828095OK, I think I understand what you are asking – and it’s not a trivial task, but does appear to be possible, though I’ve not done it. I presume what you want to automate from Access is the manual process of opening a company (or right-clicking on it) and selecting the Actions/Link command, selecting the Contacts folder in the Look in: TreeView, and then selecting one of the entries in the Items ListBox. That puts the Linked Contact in the Contacts box at the bottom of the standard Contact form.
This is really more of an Outlook exercise than it is an Access problem, as you need to use the Outlook object model, and it does expose the Link object, and provides methods for editing, those being Add, Item and Remove. The best place to find out about this stuff is the VBA Help for Outlook. To quickly get to that, have Outlook as the active application, and press the Alt-F11 key, which brings up the VBA editor. Then open the help files and search for “outlook links” and you will get a number of topics. If you’ve not played with Automation, you might find our brief Automation Tutorial useful, and there are a couple of Help topics that should show up in your search as described above.
Now for the harder part. Outlook uses the item name as its primary identifier, which doesn’t of course guarantee uniqueness – a considerable worry if you are working with a significant number of contacts. One thing we’ve done in the past is to store the unique ID number in one of the less frequently used fields in Outlook, and then used that to ensure that we got the correct item – we typically assign an autonumber to each person record in a database. The other issue you may bump into is that Outlook isn’t terribly efficient at working with these kind of relationships as it doesn’t have the robust indexing that you might find in databases. If you are planning to do real-time updates of Outlook as you make changes to the Access database, you may find the response time gets unacceptably slow. But it does sound like an interesting project – let us know how you fare, and post back if you have further questions.
-
WSdickwhite
AskWoody LoungerMay 17, 2004 at 9:46 pm #828571Wendell, thanks for your tips. I have done some automation before, but find myself having to get more into it to accomplish this project. I have successfully loaded both the company and POC records from Access into a contact type folder in OUtlook. My thought was to retrieve from Outlook the unique id for each company as it is saved in Outlook, and store it in a company record field in the Access table. Then as I add POC records to the contact folder, use the unique Outlook company id to populate some Outlook POC contact field, to initiate the relationship between company and POC. I will post my question in the Outlook forum and see if anyone has some insight on the Outlook side.
-
WBell
AskWoody_MVPMay 17, 2004 at 9:55 pm #828574Unfortunately, getting the unique Outlook ID is a significant challenge – in general it is difficult to Access with Automation, and you have all sorts of challenges if people are updating things in Outlook and you try to take that back to Access. That’s why we forced all updating to be done in Access, and didn’t allow users to update Outlook – though we were working with Exchange Server folders. If you post in the Outlook forum (and also perhaps the VBA forum), please put a link to this thread so that other loungers can see the discussion we had. (If you not done that before, see Help 19)
-
WSdickwhite
AskWoody LoungerMay 17, 2004 at 10:11 pm #828586Wendell, thanks. I have made a post in the Outlook forum. post 373326
-
WSdickwhite
AskWoody LoungerMay 17, 2004 at 10:11 pm #828587Wendell, thanks. I have made a post in the Outlook forum. post 373326
-
WBell
AskWoody_MVPMay 17, 2004 at 9:55 pm #828575Unfortunately, getting the unique Outlook ID is a significant challenge – in general it is difficult to Access with Automation, and you have all sorts of challenges if people are updating things in Outlook and you try to take that back to Access. That’s why we forced all updating to be done in Access, and didn’t allow users to update Outlook – though we were working with Exchange Server folders. If you post in the Outlook forum (and also perhaps the VBA forum), please put a link to this thread so that other loungers can see the discussion we had. (If you not done that before, see Help 19)
-
-
-
-
WBell
AskWoody_MVPMay 16, 2004 at 8:39 pm #828096OK, I think I understand what you are asking – and it’s not a trivial task, but does appear to be possible, though I’ve not done it. I presume what you want to automate from Access is the manual process of opening a company (or right-clicking on it) and selecting the Actions/Link command, selecting the Contacts folder in the Look in: TreeView, and then selecting one of the entries in the Items ListBox. That puts the Linked Contact in the Contacts box at the bottom of the standard Contact form.
This is really more of an Outlook exercise than it is an Access problem, as you need to use the Outlook object model, and it does expose the Link object, and provides methods for editing, those being Add, Item and Remove. The best place to find out about this stuff is the VBA Help for Outlook. To quickly get to that, have Outlook as the active application, and press the Alt-F11 key, which brings up the VBA editor. Then open the help files and search for “outlook links” and you will get a number of topics. If you’ve not played with Automation, you might find our brief Automation Tutorial useful, and there are a couple of Help topics that should show up in your search as described above.
Now for the harder part. Outlook uses the item name as its primary identifier, which doesn’t of course guarantee uniqueness – a considerable worry if you are working with a significant number of contacts. One thing we’ve done in the past is to store the unique ID number in one of the less frequently used fields in Outlook, and then used that to ensure that we got the correct item – we typically assign an autonumber to each person record in a database. The other issue you may bump into is that Outlook isn’t terribly efficient at working with these kind of relationships as it doesn’t have the robust indexing that you might find in databases. If you are planning to do real-time updates of Outlook as you make changes to the Access database, you may find the response time gets unacceptably slow. But it does sound like an interesting project – let us know how you fare, and post back if you have further questions.
-
WSdickwhite
AskWoody LoungerMay 16, 2004 at 3:38 am #828009Thanks for your response. POC stands for Point of Contact. In Access I have two tables. One for Companies and one for POCs. There are cases where someone can be the POC for more than one company. In Outlook for a Contact, I can select one or more contact names to be associated with particular contact. I want to create an Outlook Contact folder, add the company records to it, and then add the POC records. When I add the POC record, I would like to populate the ‘Contacts…’ field I see on the Outlook Contact form, with the Company the POC is associated with. I am unsure of which field in the Outlook object model I should be using and how.
WBell
AskWoody_MVPMay 15, 2004 at 1:44 pm #827721As best I can tell, setting the links property for a contact doesn’t do much of anything in Outlook. BTW, what exactly is a POC record? The basic challenge with Outlook is that it isn’t inheritly a relational database, so linking things together is a cumbersome project at best. Using Automation from Access, you should be able to set the links property, assuming it is exposed by the object model, but it’s not something I have played with.
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Where Does Allegiant Air Fly To? Full List of Cities (Awaiting moderation)
by
cartermadison190
20 minutes ago -
What is LLC Company Dubai? (Awaiting moderation)
by
avyancobusinesssetup
53 minutes ago -
What Are CAD Drafting Services and Who Needs Them? (Awaiting moderation)
by
Asseteyes
55 minutes ago -
How reliable is Flighys in booking international flights? (Awaiting moderation)
by
flighys126
1 hour, 31 minutes ago -
Suggestions for New All in One Printer and a Photo Printer Windows 10
by
Win7and10
4 hours, 36 minutes ago -
Purchasing New Printer. Uninstall old Printer Software First?
by
Win7and10
4 hours, 40 minutes ago -
KB5060842 Issue (Minor)
by
AC641
9 hours, 14 minutes ago -
EchoLeak : Zero Click M365 Copilot leak sensitive information
by
Alex5723
11 hours, 46 minutes ago -
24H2 may not be offered June updates
by
Susan Bradley
55 minutes ago -
Acronis : Tracking Chaos RAT’s evolution (Windows, Linux)
by
Alex5723
1 day ago -
Turning off OneDrive
by
CWBillow
1 day, 4 hours ago -
June 2025 updates are out
by
Susan Bradley
27 minutes ago -
Mozilla shutting Deep Fake Detector
by
Alex5723
1 day, 15 hours ago -
Windows-Maintenance-Tool (.bat)
by
Alex5723
1 day ago -
Windows 11 Insider Preview build 26200.5641 released to DEV
by
joep517
1 day, 17 hours ago -
Windows 11 Insider Preview build 26120.4250 (24H2) released to BETA
by
joep517
1 day, 17 hours ago -
Install Office 365 Outlook classic on new Win11 machine
by
WSrcull999
1 day, 17 hours ago -
win 10 to win 11 with cpu/mb replacement
by
aquatarkus
1 day, 9 hours ago -
re-install Windows Security
by
CWBillow
1 day, 20 hours ago -
WWDC 2025 Recap: All of Apple’s NEW Features in 10 Minutes!
by
Alex5723
2 days ago -
macOS Tahoe 26
by
Alex5723
1 day, 18 hours ago -
Migrating from win10 to win11, instructions coming?
by
astro46
5 hours, 57 minutes ago -
Device Eligibility for Apple 2026 Operating Systems due this Fall
by
PKCano
1 day, 9 hours ago -
Recommended watching : Mountainhead movie
by
Alex5723
1 day, 10 hours ago -
End of support for Windows 10
by
Old enough to know better
17 hours, 37 minutes ago -
What goes on inside an LLM
by
Michael Covington
1 day, 4 hours ago -
The risk of remote access
by
Susan Bradley
16 minutes ago -
The cruelest month for many Office users
by
Peter Deegan
12 hours, 6 minutes ago -
Tracking protection and trade-offs in Edge
by
Mary Branscombe
1 day, 14 hours ago -
Supreme Court grants DOGE access to confidential Social Security records
by
Alex5723
2 days, 22 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.