Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation
Message
From
01/05/2023 11:11:15
 
 
To
01/05/2023 10:54:07
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
01686524
Message ID:
01686525
Views:
53
>Hello,
>
>I try to automate a mail merge but it does not work. what really makes it wierd is, that the merge works, when I load Word form the command window and give the commands to merge in the command window. The templat is loaded and the merged document is created. If I do the same from within a VFP program I get an error from Word, claiming there is no data source. Template and data source are identical. I check multiple times, that both the template and data source are correct and not mirrored somewhere else.
>
>Any idea, what can cause this strange behaviour of Word is more than welcome.
>
>TIA
>Gerhard Schmidbauer

Make sure to use the full path to the files.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform