Word 2003 Mail Merge and Sql

A

abs

User has a Word mail merge document attached to a sql database. We need to
make a minor change to the Word document itself. When I try to open the Word
document I get the "Opening this document will run the following SQL command:
Select * from (database). How do I get around that message to make the
necessary change in the Word document itself without changing any of the
commands?
 
G

Graham Mayor

This is just a security warning - 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/?kbid=825765.
See also the Word macro to toggle the registry setting referred to in that
link at http://www.gmayor.com/word_vba_examples.htm#SQL.

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top