In this lesson an Access table is created and linked to a folder in Outlook (presumably Classic version only - not the "New Outlook" or the online version as I was told that these latter versions didn't work with Word Mail-merge either). Then Richard demonstrated how one could edit an email in Outlook and see the changes in the Access table (and vice versa). What happens if an email is deleted in the table? Does it disappear in the Outlook folder? Is it sent to the deleted emails folder or is it lost forever?. A more serious situation I am concerned with is - What happens if the linked Access table is deleted? Do all the emails in that folder get deleted? Is there a way to unlink the Access table before deleting it?
Another question - during the creation of the linked Access Table there is an option to “I would like to store my MAPI profile name with my linked table” - This is defaulted as ticked - What is this about?
Great questions. This is one of those situations where it feels more dangerous than it actually is.
First, when you're working with a linked Outlook folder in Access, you are not copying the emails into Access. You're just looking at them through a window. The data still lives in Outlook. It's just like running a query in Access. The data still lives in the table, but you can view and interact with that data in the query.
So if you delete an email in the Access table, yes, it deletes the actual email in Outlook too. It should go to the Deleted Items folder, just like if you deleted it directly in Outlook. From there, it behaves exactly the same as normal Outlook mail.
Now the important part: if you delete the linked table in Access, nothing happens to your emails. You're only removing the shortcut, not the data. Think of it like deleting a desktop shortcut to a file. The file itself is still perfectly safe. There's no mass email apocalypse.
If you want to "unlink" it first, you don't have to do anything special. Deleting the linked table is the unlink.
As for the MAPI profile option, that just tells Access which Outlook profile to use when opening that link. If you only have one Outlook profile, you'll never notice a difference. If you have multiple profiles (work, personal, etc.), storing the profile name ensures Access always connects to the correct one instead of prompting or guessing.
Hope that clears it up!
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Expert 20.