See the following 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
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
"Daversey" wrote in message
...
I am trying to automate word mail merge from access, but when I open the
mail
merge document it comes up with a warning: "Opening this document will run
the following SQL command Select * from (and then the text file which
merges
with the word document).
How do I automate it so I do not have to manually agree to loading the sql
command?