ACC2: How to Open/Edit MS Word Document in Bound Object FrameLast reviewed: June 3, 1997Article ID: Q132240 |
The information in this article applies to:
SUMMARYThis article demonstrates sample Access Basic code that you can set for the OnDblClick property event procedure of a bound OLE object control so that you can open/edit a previously embedded OLE object. If no object exists, a new Microsoft Word document is embedded. This article assumes that you are familiar with Access Basic and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Access Basic, please refer to the "Building Applications" manual.
MORE INFORMATIONTo create the sample Access Basic code so that you can open/edit a previously embedded OLE object, follow these steps. CAUTION: Following the steps in this example will modify the sample database NWIND.MDB. You may want to back up the NWIND.MDB file, or perform these steps on a copy of the NWIND database.
REFERENCESMicrosoft Access "Building Applications," version 2.0, Chapter 13, "Creating an Embedded OLE Automation Object from a File," page 297 For more information about OLE Automation, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q123859 TITLE : ACC: Sample OLE Automation for Microsoft Word and Microsoft Excel ARTICLE-ID: Q124862 TITLE : ACC: Sending the Current Record to Word with OLE Automation |
Additional query words: automate
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |