Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP/Word 2003 Merge Exception
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00887491
Message ID:
00887494
Vues:
13
>oMW=Createobject("word.application")
>oMW.documents.open('Letter.doc')
>oDoc = oMW.activedocument
>oDoc.mailmerge.execute
I think You must open the DataSource before execute.
oMW=Createobject("word.application")
oMW.documents.open('Letter.doc')
oDoc = oMW.activedocument

oDoc.MailMerge.OpenDataSource("YpurDataSource.DBF")

oDoc.mailmerge.execute
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform