When a document has a text file that is attached as a data source and the
document is opened a dialog box pops up to state 'Word will run the following
SQL statement ' then lists the Select statement and the path to the attached
data source.
This occurs in Word 2003. The text file provides data for an automated mail
merge process that runs on thousands of legal documents and this message is
annoying. It does not occur in Word 2000.
Peter Jamieson - 26 Jan 2006 09:53 GMT
See the following Knowledgebase article:
"You receive the "Opening this will run the following SQL command" message
when you open a Word mail merge main document that is linked to a data
source"
http://support.microsoft.com/kb/825765
Peter Jamieson
> When a document has a text file that is attached as a data source and the
> document is opened a dialog box pops up to state 'Word will run the
[quoted text clipped - 7 lines]
> is
> annoying. It does not occur in Word 2000.