Using OLE automation get error when merging excel data via DDE

J

James Miller

I have a Visual Fox Pro Application that uses OLE
automation to pull up a WORD document, merges in excel
data via DDE to the printer and closes word. It works a
majority of the time. But sometimes (its intermitant but
usually after multiple merges), the merge will take place
but crash when word closes generating an error in the VFP
application which crashes. I have tried everything I can
think of, including recreating the document, changinging
the method from DDE to 'translation' and ODBC. Nothing I
tried works. Has anybody encountered this behavior?

-JAmes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top