Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2006

Tip: Looking for answers? Try searching our database.

How do I Remove a SQL Select Query from Word?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
J.M. - 06 Feb 2006 21:31 GMT
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.
Peter Jamieson - 06 Feb 2006 23:06 GMT
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

>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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.