Calling methods on Word document (OLE object) retrieved from database

Jean-Louis Leroy

New member
Local time
Today, 07:01
Joined
May 18, 2010
Messages
3
Hi,

I have a table that contains Word documents stored as OLE objects by Bound Object containers. I don't have the form nor the containers that created the objects at hand, just a result set. I'd like to save the documents to disk (via the SaveAs method) to merge them into a template (by means of InsertFile). How can I convert the values in the result set back to OLE objects ?

Thanks,
Jean-Louis
 
Last edited:
Ok, since only bound object containers seem to know how to turn blobs into useable OLE objects, I have created a Form bound to my table with a Load handler that saves the documents to their respective files then closes itself. If there is a god for programmers after all, I'll certainly have to pay the price for this ugly hack on judgement day...
 

Users who are viewing this thread

Back
Top Bottom