Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Office Automation
Message
De
04/04/2003 02:00:33
 
 
À
03/04/2003 17:34:43
Dick Day
Madison County, Nebraska
Nebraska, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00773611
Message ID:
00773894
Vues:
21
Dick

We use the following code (apologies for not knowing how to format the text with HTML!)

lcTempDataSource = 'C:\Temp\Wordmrg.dbf'
lcTempName = 'WordMrg.dbf'
lcConnection = "DSN=FoxPro Files - Word;UID=;PWD=;SourceDB=" + ADDBS(JUSTPATH(lcTempDataSource)) + ";SourceType=DBF;Exclusive=No;BackgroundFetch=No;Collate=MACHINE;Null=Yes;Deleted=Yes;"
lcSelect = "SELECT * FROM " + lcTempName

loWord.ActiveDocument.MailMerge.OpenDataSource( lcTempDataSource, 0, .F.,,.T.,,,,,,, lcConnection, lcSelect)
loWord.ActiveDocument.MailMerge
regards

Ian
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform