Group:  Microsoft Word ยป microsoft.public.word.mailmerge.fields
Thread: Error Message following SQL command?

Geek News

Error Message following SQL command?
TomP 11/6/2008 3:58:01 PM
I have mail merge documents created in Office 2002 XP. The database files
are all in MS Word and all are located on the network for everyone to use.
Ever since we got Office 2003 a new message appears when you open your
document.......

"Opening this document will run the following SQL command:

SELECT * FROM C:\Documents and Settings\username\file name

Data from your database will be placed in the document. Do you want to
continue?"

I have to select "yes" 2 times to bypass this message and work on the
document. There is nothing wrong with the mail merge. Only thing that is
annoying is you have to click "yes" twice to continue. Is there a way to
remove the warning messages?

Thank you,

Tom
Re: Error Message following SQL command?
"Doug Robbins - Word MVP" <dkr[ at ]REMOVECAPSmvps.org> 11/6/2008 7:27:26 PM
See the following Knowledge Base article for how to edit the Registry to
prevent the message from appearing:

"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

"TomP" <TomP[ at ]discussions.microsoft.com> wrote in message
news:E2D5E24E-72E7-461F-BF0A-B0CCE7CFE4F3[ at ]microsoft.com...
[Quoted Text]
>I have mail merge documents created in Office 2002 XP. The database files
> are all in MS Word and all are located on the network for everyone to use.
> Ever since we got Office 2003 a new message appears when you open your
> document.......
>
> "Opening this document will run the following SQL command:
>
> SELECT * FROM C:\Documents and Settings\username\file name
>
> Data from your database will be placed in the document. Do you want to
> continue?"
>
> I have to select "yes" 2 times to bypass this message and work on the
> document. There is nothing wrong with the mail merge. Only thing that is
> annoying is you have to click "yes" twice to continue. Is there a way to
> remove the warning messages?
>
> Thank you,
>
> Tom


Re: Error Message following SQL command?
"Graham Mayor" <gmayor[ at ]REMOVETHISmvps.org> 11/7/2008 6:18:03 AM
There is a macro on my web site that will toggle the setting in the registry
http://www.gmayor.com/word_vba_examples.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


Doug Robbins - Word MVP wrote:
[Quoted Text]
> See the following Knowledge Base article for how to edit the Registry
> to prevent the message from appearing:
>
> "Opening This Will Run the Following SQL Command" Message When You
> Open a Word Document - 825765 at:
>
> http://support.microsoft.com?kbid=825765
>
>
>
> "TomP" <TomP[ at ]discussions.microsoft.com> wrote in message
> news:E2D5E24E-72E7-461F-BF0A-B0CCE7CFE4F3[ at ]microsoft.com...
>> I have mail merge documents created in Office 2002 XP. The database
>> files are all in MS Word and all are located on the network for
>> everyone to use. Ever since we got Office 2003 a new message appears
>> when you open your document.......
>>
>> "Opening this document will run the following SQL command:
>>
>> SELECT * FROM C:\Documents and Settings\username\file name
>>
>> Data from your database will be placed in the document. Do you want
>> to continue?"
>>
>> I have to select "yes" 2 times to bypass this message and work on the
>> document. There is nothing wrong with the mail merge. Only thing
>> that is annoying is you have to click "yes" twice to continue. Is
>> there a way to remove the warning messages?
>>
>> Thank you,
>>
>> Tom


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net