Dear,

I hope this message reaches you in good health.

I hope you can assist me with some information.
I am trying to do MailMerge programatically. I was able to do the mail merge 
properly when connecting an Excel sheet with an open office template file. 
However, my program aims to connecting a MySQL datasource with the template and 
calling the mail merge from my java program to do the merge. I created my 
desired template, and inserted my fields into the template, the mail merge 
works perfectly. If I call mail merge from my program, the connection for MySQL 
fails. After a long investigation in the problem, I realized that I am not 
setting up the proper connection for the mail merge. 

Therefore, if you can please assist me in explaining for me how to set up the 
"ActiveConnection"  as a mail merge parameter. Upon searching the net, I have 
come across XConnection but I was not able to create one.

I would really appreciate your help.

Regards,
Nader



      

Reply via email to