How do I Remove a SQL Select Query from Word?

J

J.M.

I get a SQL Select * from C:my documents/info.xls when I open a word
document. How do I remove this command? Thanks, J.M.
 
P

Peter Jamieson

If it's a Mail merge Main document., in Word 2002/2003, display the
Mailmerge toolbar, click the first button and select "normal Word Document".
or use VBA to execute

ActiveDocument.MailMerge.MainDocumentType = wdNotAMergeDocument

If the problem is occuring because the document contains a DATABASE field (I
don't think that happens) you probably have to remove the field.

Or maybe you need

http://support.microsoft.com/default.aspx?scid=kb;en-us;825765

Peter Jamieson
 

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