Click here to Skip to main content
15,906,625 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The single hardest thing I've attempted so far... There are many articles out there on how to do this when pulling from an access database but when your data source changes is a SQL backend all bets are off.

I am looking to use my vb Program to feed the data source for Microsoft mail merge.

Also, it's important that I don't have to use a DSN or any kind of hard connection file. I must be able to use something like this:

SQLcn As SqlConnection = New SqlConnection(Server=SERVER\DB;Database=DATABASENAME;Trusted_Connection=True;)

Any and all help would be greatly appreciated. I've spent hours and hours looking for an answer and have found nothing but roadblocks.

Greatfully,

~Jack
Posted
Updated 7-Sep-10 6:33am
v2
Comments
Richard Hauer (5 Limes) 11-Sep-10 2:47am    
What program are you trying to mail merge in? Is it Word? If so could you use a database query file (dqy)? What is "Microsoft mail merge"?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900