Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
TomP TomP is offline
external usenet poster
 
Posts: 3
Default Error Message following SQL command?

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
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Error Message following SQL command?

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" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Error Message following SQL command?

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:
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" wrote in message
...
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



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Message: Error! Number Cannot Be Represented in Specified Fo DGENG Microsoft Word Help 1 May 7th 07 11:00 AM
error message - ERROR LAUNCHING BROWSER SAR Microsoft Word Help 3 July 27th 06 03:29 AM
Save command causes error caseyvive Mailmerge 1 June 18th 06 05:00 AM
Stop error message - "Compile Error in hidden module appearing" Howard18 Microsoft Word Help 1 October 20th 05 05:12 PM
Error message: Winword caused an error in USER.EXE winword user.exe error Microsoft Word Help 2 November 24th 04 01:53 AM


All times are GMT +1. The time now is 09:14 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"