Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation
Message
De
02/05/2023 03:30:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
01686524
Message ID:
01686536
Vues:
40
Thank you Borislav,

I work on a developement machine right now. And there the pathes do definitely exist. And the hold the template and the data source. On the client computers the path is built from an INI file.

The error is 1429. The message text is, that the mail merge main document does not have a data source.

I spent to much time already and will now change to a report solution.

Gerhard Schmidbauer

>Also where you open data source?
>oWord.ActiveDocument.MailMerge.OpenDataSource()
>
>
>>Hello Luis,
>>
>>sorry, but I did not mention, that this test program works. But the same code within my app has the effect, that the data source goes away, as soon as I load the template in Word with oword.Documents.Add(lcVorlag)
>>
>>Gerhard Schmidbauer
>>
>>>Hi Gerhard:
>>>
>>>In both cases (development and production) are you using the same logged-user? Could you show us part of your code? More important is how you generate the filenames and how you perform the merge.
>>>
>>>Luis
>>>
>>>
>>>>Thank you Tore,
>>>>
>>>>I do use full pathes already. Seems to be something else.
>>>>
>>>>Gerhard Schmidbauer
>>>>
Gerhard Schmidbauer
URANUS Software GmbH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform