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 / Mailmerge and Fax / August 2006

Tip: Looking for answers? Try searching our database.

data source

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
00KobeBrian - 04 Aug 2006 04:10 GMT
How can I do the mail merge with the data source in SQL 2000 tables? Thanks.
Peter Jamieson - 04 Aug 2006 09:51 GMT
If you are using Word 2002/2003, when you get to "Select Data Source" dialog
box, make sure you are looking at the contents of the "My Data Sources"
folder. You should see an item called

+New SQL Server Connection.odc

Select that one, which should lead you through the necessary steps.
Inessence, the process sets up a .odc (Office Data Connection) file, which
you then select as your data source.

If you are using Integrated Security for SQL Server, things will probably go
easier. If you are not, you will probably have to check the boxes named
something like "Retain security info", in which case your username and
password will end up as plain text in the .odc, so be careful!

If you are using Word 2000, you have to set up an ODBC DSN for SQL Server,
then use the MS Query option in "Open Data Source" to set up your query.

In both cases there is a significant possibility that you will go through
all the necessary steps, apparently connect successfully to the data source,
only to have Word tell you that it can't open the data source at the final
step. This is usually either a security-rleated problem, or because Word
truncates the connection string created by MS Query or the Datalink editor.
In that case, you may need to connect using Word VBA and the OpenDataSource
method. We can go into that if necessary.

Peter Jamieson

> How can I do the mail merge with the data source in SQL 2000 tables?
> Thanks.

Rate this thread:






 
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.