I have some document assembly automation code for Word that performs up to 15 individual mail merges, then assembles the results. When run with Word 2003 you get a dialog for each merge
Opening this document will run the following SQL Command
SELECT * FROM H:\HDS\TEST\SERVOBJ.DL
Data from your database will be placed in the document. Do you want to continue
If not responded to promptly, you then get "Word was unable to perform the command because a dialog box was open
A google search hints at a registry fix for this problem, but doesn't say what the key or value is
Randy Herso
Peter Jamieson - 25 Feb 2004 17:12 GMT
See the Knowledge Base article
"Opening This Will Run the Following SQL Command" Message When You Open a
Word Document - 825765
at
http://support.microsoft.com?kbid=825765
--
Peter Jamieson - Word MVP
Word MVP web site http://word.mvps.org/
> I have some document assembly automation code for Word that performs up to 15 individual mail merges, then assembles the results. When run with Word
2003 you get a dialog for each merge:
> Opening this document will run the following SQL Command:
>
[quoted text clipped - 7 lines]
>
> Randy Hersom