Article ID: 132240 - Last Review: November 6, 2000 - Revision: 1.0 ACC2: How to Open/Edit MS Word Document in Bound Object FrameThis article was previously published under Q132240 SUMMARY
This 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 INFORMATION
To 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.
REFERENCES
Microsoft 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 and the Verb property, search for "Verb" using the Microsoft Access Help index. For more information about OLE Automation, please see the following articles in the Microsoft Knowledge Base: 123859 (http://support.microsoft.com/kb/123859/EN-US/ ) ACC: Sample OLE Automation for Microsoft Word and Microsoft Excel 124862 (http://support.microsoft.com/kb/124862/EN-US/ ) ACC: Sending the Current Record to Word with OLE Automation | Article Translations
|


Back to the top
