accdev was telling us:
accdev nous racontait que :
> When I open a document that is merged from Access, I get a message
> that begins: Opening this document will run the following SQL
> command. Select * form 'queryname'.... Is there any way to prevent
> this message from appearing?
Try deactivating
"Update Automatic links at Open" under the General tab of the Options...
dialog from the Tools menu.
Don't know if it applies to those types of links...
Keep in mind that this is an Application wide setting (i.e., you will have
to update links manually, or, by using Print preview if the setting to
updates fields is active under the Print dialog).

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org
accdev - 24 Sep 2005 16:12 GMT
No luck....message still came up. I found a program on the web that I
modified to create this particular word doc. I contacted the person who
designed it and she said the message doesn't appear for her users and she
didn't do anything to exclude it....there must be a checkmark somewhere?
> accdev was telling us:
> accdev nous racontait que :
[quoted text clipped - 14 lines]
> to update links manually, or, by using Print preview if the setting to
> updates fields is active under the Print dialog).
Daniele Pinai - 26 Sep 2005 15:41 GMT
You must insert a new DWORD value in regedit
HKey_Current_User / Software / Microsoft / Office / 11.0 / Word /
Options
The Values is
SQLSecurityCheck set it to 0 ( zero )
Bye bye
> No luck....message still came up. I found a program on the web that I
> modified to create this particular word doc. I contacted the person who
[quoted text clipped - 19 lines]
> > to update links manually, or, by using Print preview if the setting to
> > updates fields is active under the Print dialog).