Hi,
I'm trying to mail merge a .doc from a Vb application, and when i try to do opendatasource i get a confirm Data source msgbox which lists all kinds of connection propoerties.
here is the line of code...
oDoc.MailMerge.Application.ActiveDocument.MailMerge.OpenDataSource Name:="", Connection:=sConn, SQLStatement:=sSQL, subType:=wdMergeSubTypeWord2000
i don't want to ask which datasource to open at run time ...
please help ... i have searched the net and could not find anything useful.
I'm trying to mail merge a .doc from a Vb application, and when i try to do opendatasource i get a confirm Data source msgbox which lists all kinds of connection propoerties.
here is the line of code...
oDoc.MailMerge.Application.ActiveDocument.MailMerge.OpenDataSource Name:="", Connection:=sConn, SQLStatement:=sSQL, subType:=wdMergeSubTypeWord2000
i don't want to ask which datasource to open at run time ...
please help ... i have searched the net and could not find anything useful.