Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP/Word 2003 Merge Exception
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00887491
Message ID:
00887494
Views:
12
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform