Automation sever for MS word 12.0

I declared a global variable of type Automation and subtype ‘Microsoft Word 12.0 Object Library’.Application

But when im trying to save its giving me an error like " the variable wdapp::mailmergedatasourcevalidate is defined more than once"

please help…

Hi,

I had a similar problem.

Didn’t find the reason, but i managed to compile my object by using local variable instead.

It’s a bug in Nav compiler. I ran into this with ADO automation. And the workaround is local variable.