Hello NAV experts,
I'm trying to develop a basic mail merge between NAV 5.0 SP1 and Microsoft Word 2007, where I want to update certain mail merge fields with data from record fields in NAV. I haven't done this before, but I'm trying to use the example explained in the Application Designer's Guide on page 371.
The example detailed in ADG seems simple enough, but I can't define a variable of type Microsoft Word 12.0 Object Library with subtype Application without getting a compilation error. The error reads "Variable WordApp::MAILMERGEDATASOURCEVALIDATE" is defined more than once". The only difference (as far as I can tell) between my code and the one from ADG is that the latter uses Microsoft Word 11.0 Object Library.
Has anybody encountered this problem before?