none
Word mailmerge select datasource dialog RRS feed

  • Question

  • I'am building an application that use Word mailmerge to create documents.

    The users creates the templates and thereafter they and other users use these templates with mailmerge to create documents.

    Each user has a .odc file located in their localapplicationdata folder. The .odc file contain a connectionstring to the datasource, the same connectionstring that the actual application use.

    When the document is created i use MailMerge.OpenDatasource(Name:={fullpath to the .odc file})

    Everything works just fine.

    But not on following setup:

    On a Windows 2008 x64 server with Office 2010x64 as TerminalServer. When a user create a template he/she can use that template just fine the mailmerge works just fine.

    But if other users are using that template. Word shows the Select DataSource Dialog. If the user Cancel that dialog, Word starts merging just fine.

    Why is Word showing the Select datasource dialog?

    /Johnny

    Friday, March 15, 2013 1:08 PM

Answers

All replies