ACC2000: How to Retrieve the Path for Linked OLE Objects (199066)
The information in this article applies to:
This article was previously published under Q199066 This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
Advanced: Requires expert coding, interoperability, and multiuser skills.
SUMMARY
Microsoft Access does not have a feature that enables you to determine the path for a linked OLE object stored in a table. The recommended approach to accomplish this task is to create an additional Text field in the table and to store the path to the linked OLE object in that field.
This article demonstrates how to use a Visual Basic for Applications
procedure to retrieve the path for a linked OLE object from the object's
OLE header. However, this procedure may not work in some circumstances. Storing the path in a separate Text field when you link the OLE object is the best way to ensure that you will be able to retrieve the path later.
REFERENCESFor more information about the StrConv function, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type StrConv in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 12/12/2002 |
---|
Keywords: | kbdta kbhowto kbole KB199066 |
---|
|