ACC97: Modifying Linked Exchange Tables in Microsoft AccessLast reviewed: October 13, 1997Article ID: Q167660 |
The information in this article applies to:
SUMMARYModerate: Requires basic macro, coding, and interoperability skills. When you create a table in Microsoft Access 97 that is linked to a Microsoft Exchange folder, there are system imposed limits on what you can add, change, or delete. This article discusses those restrictions. You can download Microsoft Access Wizards that make it easier for you to link or import Microsoft Exchange folders. The Exchange/Outlook Wizards are available, free of charge, from Microsoft's World Wide Web site at:
http://www.microsoft.com/accessdev/a-free.htmFor information about installing the Exchange/Outlook driver without using a wizard, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q159322 TITLE : ACC97: Paradox, Lotus, & MS Exchange/Outlook ISAMs in ValuPackNOTE: The information in this article applies to linked tables only. If you import a Microsoft Exchange table into your database, the limitations described in this article do not apply.
MORE INFORMATIONLinked Microsoft Exchange data is best suited as a read-only reference or as lookup information in your database. For example, you can use the Global Address Book to look up e-mail names for message recipients, or you can use Calendar information to view existing appointments and identify schedule conflicts. However, if you want to modify data in the linked table, the following sections discuss some of the limitations you will encounter.
Adding New RecordsWhen you link a Microsoft Exchange folder in your database, you have no choice of which fields to display in the table. The subset of fields that appear in your table are pre-programmed in the Microsoft Messaging Driver, Msexch35.dll, which manages the connection between Microsoft Access and Microsoft Exchange. When you add a new record to the table, some fields produce the following error message when you try to enter data:
Field '<Field Name>' is based on an expression and can't be edited.You cannot update these fields in Microsoft Access; however, once you identify the fields, you can simplify your data entry by hiding those columns as follows:
Folder Message Class ---------------------------- Calendar IPM.Appointment Contacts IPM.Contact Inbox IPM.Note Journal IPM.Activity Notes IPM.StickyNote Tasks IPM.Task Modifying RecordsYou cannot modify any records in a linked Microsoft Exchange table. The Microsoft Messaging Driver is designed only for reading existing records and adding new ones.
Deleting RecordsWhen you delete a record from a linked Microsoft Exchange table, the record is immediately and permanently deleted. You cannot use the Undo command to restore the record, and it does not appear in the Deleted Items folder in Microsoft Exchange. Use caution, and be sure that you really want to delete a selected record before you actually delete it. You can work around this behavior in several ways:
|
Additional query words: attach update
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |