Re: Suppress the SQL message

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Karen (wonderlover_at_funcity.com)
Date: 02/25/04


Date: Tue, 24 Feb 2004 17:09:04 -0800

OK, I found one way to suppress the message

http://support.microsoft.com/default.aspx?scid=kb;en-us;825765

Still, if anyone has a VBA solution, I'd much prefer.

-- 
Karen
"Karen" <wonderlover@funcity.com> wrote in message
news:OCbLj8v%23DHA.3820@TK2MSFTNGP09.phx.gbl...
> From Access I have a button which opens Word, opens a mail merge document
> and merges the Access record's data to a new doc based on the mail merge
> doc.  Everything works but when the mail merge starts, I get the following
> message:
>
> Opening this document will run the following SQL
> command:............................
>
> Is there any way to suppress this OR code I could add to my Access VBA
when
> I open the mail merge document so that 'Yes' is selected and the user
isn't
> prompted to say 'Yes'?
>
> -- 
> Karen
>
>

Quantcast