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

Signature
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
>I am trying to automate word mail merge from access, but when I open the
>mail
[quoted text clipped - 4 lines]
> How do I automate it so I do not have to manually agree to loading the sql
> command?