H
Humberto Santos
Hi,
I cant perform a connection to SQL Server with this code:
With WrdDoc.MailMerge
..MainDocumentType = wdFormLetters
..OpenDataSource Name:="", _
Connection:="ODBC;DRIVER=SQL
Server;SERVER=AVFSQL;DATABASE=avf;LANGUAGE=;Trusted_Connection=Yes;Regional=", _
SQLStatement:="SELECT * FROM TBL01_Faxes"
End With
(Im using Access 2002 with Windows XP linked to SQL Server 2000 in a Windows
2000 Server)
I cant perform a connection to SQL Server with this code:
With WrdDoc.MailMerge
..MainDocumentType = wdFormLetters
..OpenDataSource Name:="", _
Connection:="ODBC;DRIVER=SQL
Server;SERVER=AVFSQL;DATABASE=avf;LANGUAGE=;Trusted_Connection=Yes;Regional=", _
SQLStatement:="SELECT * FROM TBL01_Faxes"
End With
(Im using Access 2002 with Windows XP linked to SQL Server 2000 in a Windows
2000 Server)