Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 MailMerge

Status
Not open for further replies.

Gunga

IS-IT--Management
Oct 8, 2002
8
BR
Hi everybody,

Can anybody help me turning these lines below to access ODBC SQL source?

Dim myMerge As MailMerge
Dim LastRecord As Long
Dim myDoc As Object

Set myDoc = ActiveDocument

With myDoc.MailMerge
.MainDocumentType = wdFormLetters
.OpenDataSource Name:="D:\Data\Access\TestDB.mdb", _
LinkToSource:=True, AddToRecentFiles:=False, _
Connection:="TABLE Test"
End With
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top