Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE - Word Problem
Message
From
07/04/2000 14:12:58
 
 
To
07/04/2000 12:47:31
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00356961
Message ID:
00357017
Views:
16
>To Whoever,
>
> I am working on a mailmerge with AVERY Lables, running completely
>from vfp6. I open my datasource but when I execute the merge I
>get the following error.
>
>OLE IDispatch exceptioncode 0 from Microsoft word
>This method or property is not available because the current mail
>merge main document has no merge fields- The Error is 1429.
>

It sounds like the problem is that you're opening the datasource rather than the main document in the first place. You want to execute the MailMerge.Execute method on the main document, not on the data source.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform