Reply
 
Thread Tools Display Modes
  #1   Report Post  
Leon Hoeneveld
 
Posts: n/a
Default Word 2003 Run SQL? pop-up

I have a word document connected to a comma separated file.
In the file are merge fields.
In an application I write the content of the file and open
word to merge.

This does not work in Word 2003. The link with my connceted
file is lost.
When I open the word document manually I get a message
asking me to run an SQL-command. I think this is the
problem. I want Word to run the SQL command always, without
prompting me to do so. I cannot find the menuoption to
manage this.
Does anyone know how to make Word run SQL-command by
default.

(Word 2002 doesn't have this problem)

Thanks in advance,

Léon hoeneveld


  #2   Report Post  
Cindy M -WordMVP-
 
Posts: n/a
Default

Hi Leon,

When I open the word document manually I get a message
asking me to run an SQL-command.

See this article

"Opening This Will Run the Following SQL Command" Message
When You Open a Word Document - 825765
http://support.microsoft.com?kbid=825765

You probably want to set the Registry key it mentions.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update
Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)

  #3   Report Post  
kemp
 
Posts: n/a
Default

hi cindy:

thanks for the article link.

however, what to do in the situation where you can't change or don't find it
desirable to change the registry ?

do you know of any of any data source formats that don't trigger the
'Opening this will run the following SQL command' prompt?

thanks

kemp

"Cindy M -WordMVP-" wrote:

Hi Leon,

When I open the word document manually I get a message
asking me to run an SQL-command.

See this article

"Opening This Will Run the Following SQL Command" Message
When You Open a Word Document - 825765
http://support.microsoft.com?kbid=825765

You probably want to set the Registry key it mentions.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update
Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)


  #4   Report Post  
Cindy M -WordMVP-
 
Posts: n/a
Default

Hi ?B?a2VtcA==?=,

No, there's no way around this, other than changing the Registry. Or using VBA
(in an AutoOpen macro, for example) to link to the data source AFTER the
document has been opened.

however, what to do in the situation where you can't change or don't find it
desirable to change the registry ?

do you know of any of any data source formats that don't trigger the
'Opening this will run the following SQL command' prompt?


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

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
In typing dates in Word, i.e. "January 12" how do you keep the "1. Carol Microsoft Word Help 2 January 12th 05 08:09 PM
word xp crashes after macros are recorded kharris0405 Microsoft Word Help 3 January 11th 05 10:50 PM
WP Delay Code - Word Equiv Mike G - Milw, WI Microsoft Word Help 6 January 10th 05 04:12 PM
macro in word js Microsoft Word Help 1 December 28th 04 03:01 AM
Acrobat writer 5.0 Compatibility with word 2003 Norman Marshall Microsoft Word Help 1 November 25th 04 11:12 AM


All times are GMT +1. The time now is 05:22 AM.

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"