Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking/embedding OLE objects through a query?

Status
Not open for further replies.

Sashanan2

Programmer
Jul 2, 2004
39
NL
I'm aware of how to usually link/embed an OLE object to an OLE object field (Insert -> Object etc.) but would it be possible to do the same through a programmed SQL query? I've tried it by simply passing the path of the file I want to link to an INSERT or UPDATE query, but that results in the field displaying "long binary data" and being inaccessible.

Reason why I want to know is that in my application I want to minimize and if possible eliminate the user's ability to use Access' regular menu options, but the specs demand that users must be able to embed .PDF files in records. Is there an SQL or otherwise programmable solution available to me that won't require me to leave Access' normal menu options open?

(Version used, if it makes a difference, is Access 2003, but the database app is in Access 2000 format.)


"Any fool can defend his or her mistakes; and most fools do." -- Dale Carnegie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top