Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / December 2006

Tip: Looking for answers? Try searching our database.

Changing OLE Links

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mat-Brisbane - 01 Dec 2006 05:48 GMT
Hi MSDNers,

I am trying to change the link (i.e. source) of a linked OLE object in my
Access form in VBA, but have had little sucess after Googling for many hours.
I have tried changing the property, "SourceDoc", for an unbound OLE obect,
but this does not appear to be how OLE objects locate the data.

Can anyone help?

Thanks in advance,
Mat
John Nurick - 01 Dec 2006 07:11 GMT
Hi Mat,

When you say "a linked OLE object", do you mean you have a table that
has an OLE field in which you have stored linked objects? If so, I think
you need to use a form bound to the table, with a BoundObjectFrame
control bound to the field. You can then use VBA code to manipulate the
BoundObjectFrame and through it the object.

>Hi MSDNers,
>
[quoted text clipped - 7 lines]
>Thanks in advance,
>Mat

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
MatMc - 01 Dec 2006 08:07 GMT
Hi John,

No, this was NOT what I meant... I am looking to link an OLE object EXTERNAL
to the database, I.E. stored on disk. (eg. C:/A Document.doc)

Thanks,
Mat

> Hi Mat,
>
[quoted text clipped - 20 lines]
>
> Please respond in the newgroup and not by email.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.