1 2 3 4 5 6 7 8 9 10
|
ActiveDocument.MailMerge.OpenDataSource Name:= _
"C:\Documents and Settings\lebeau.o\My Documents\My Data Sources\SSGSGPERSO0001_SQLEXPRESS OLIVIER tbl_Adresse.odc" _
, ConfirmConversions:=False, ReadOnly:=False, LinkToSource:=True, _
AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate:="", _
WritePasswordDocument:="", WritePasswordTemplate:="", Revert:=False, _
Format:=wdOpenFormatAuto, Connection:= _
"Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=True;Initial Catalog=OLIVIER;Data Source=SSGSGPERSO0001\SQLEXPRESS;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=SSGSGPERSO0001;Use Encryption for Data=Fa" _
, SQLStatement:="SELECT * FROM ""tbl_Adresse""", SQLStatement1:="", _
SubType:=wdMergeSubTypeOther |
Partager