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 test
--
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
"Marek" wrote in message
...
Hi,
I have created a document that I use for a mail merge from an Access DB I
have.
The actual mail merge runs from within my DB - that all works great.
Every time I open the Word document, I get the following message:
Opening this document will run the following SQL command:
Select * from ... THE SQL STATEMENT FROM MY ACCESS APP
Data from your database will be placed in the document. Do you want to
continue?
Yes/No
Does anyone know why I get this - or better still, how to supress it as I
get this message when I run my mail merge from within my Access app
--
Many thanks in advance for any assistance