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 / April 2006

Tip: Looking for answers? Try searching our database.

Mail Merge Directly From SQL Server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vaughn Haybittle - 12 Apr 2006 06:11 GMT
Hi,

I need to know whether it is possible to do a mail merge directly from a SQL
server.  Most of the documenttation I have seen relating to mail merges
describes Access, Excel, Outlook and even text files as data sources.

I want to collect information via a web site, store it in aSQL Server
Database on the hosting server, and do a mail merge direcly from that SQL
Server.  Is there a better way to do this?

Regards,

Vaughn
Peter Jamieson - 12 Apr 2006 08:07 GMT
> I need to know whether it is possible to do a mail merge directly from a
> SQL server.

It is possible, but there are a few gotchas, e.g.
a. if you are using Word 2000 or earlier, you have to use ODBC to connect
to the server and if you do that, any unicode format fields in the database
will appear as blanks (e.g. NVARCHAR fields). It should be OK with Word
2002/2003 with the OLEDB connection method, but I would check.
b. You may have difficulty avoiding embedding login/password information,
either in the Word document itself or in the .odc file that Word will lead
you to set up. Since this information is in effect stored as plain text, it
is a security risk.

Other ways to generate reports from SQL Server may be simpler, depending on
what you are doing - e.g. Access reports can report on linked SQL Server
tables, and if your organisation happens to have SQl Reporting Services,
that's anothter option.

Peter Jamieson

> Hi,
>
[quoted text clipped - 10 lines]
>
> Vaughn
 
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.