General information
Category:
COM/DCOM and OLE Automation
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only