lcVorlag = 'd:\u09\vorlagen\DE_OptOut_Proprietors.dotx'
Are you sure this path exists EVERYWHERE?
On your client computer?
BTW what is the error?
>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
>>>
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.