Requirements for CU WordManagement to be compilable

zavitzavit Member Posts: 9
Hi,
does anybody know, what are the reqs (also undocumented)? I didn't find it in documentation, what exactly MS Office components have to be installed on the machine from where I try to compile the object. The problem is the call
wrdDoc.MailMerge.OpenDataSource2000(MergeFileName,ParamInt);
The compiler says, that the OpenDataSource2000 variable could not be found. Means, that the Automation variable wrdDoc and its property MailMerge could be found. We have Office2000 Prof. installed, the automation is there, but something is wrong. What have to be additionally installed in the Office?

Comments

  • giulio.cipogiulio.cipo Member Posts: 77
    i have office 2003 and it work perfectly.
    Sometimes the automation (in excel to) don't work if you chane version of office and the instruction change. i don't think that you can change automation, you have to change office version, maybe you can try in a different pc where you have a different version of office.
  • zavitzavit Member Posts: 9
    i have office 2003 and it work perfectly.
    Sometimes the automation (in excel to) don't work if you chane version of office and the instruction change. i don't think that you can change automation, you have to change office version, maybe you can try in a different pc where you have a different version of office.
    Yes, with Office 2003 there is no problem. But our client has Office 2000 problem and doesn't want upgrade it.
    Note: I didn't change the codeunit 5054 and suppose it should work and be compilable right out of the box with a not very new Office version like Office2003, because the NA V3.70, I am using, has been released before Office2003 and should be compatible with Office2000 as well.
    The error message I get by compiling the CU is
    You have specified an unknown variable OpenDataSource2000 ...
    
    BTW, I could maybe addapt the C/AL code, but I think there is only something missing in the office2000 installation. Therefore I don't want to change the CU.

    Thanx
  • rajpalrajpal Member Posts: 10
    Hi,

    I' ve added a new field to be pumped in the mail merge document.

    But on compiling the code, I get an error :
    " You have specified an unknown Variable OpenDataSource2000 Define the variable under Global C/AL symbols"

    I have installed office 2000. I am unable to trace where exactly the problem is.

    If anybody has a solution to this, pls let me know asap
  • garakgarak Member Posts: 3,263
    It will be Work with > Office 2000 (ALL SP). Fore the Mailmerge Problem look here http://www.mibuso.com/forum/viewtopic.php?t=9182

    Regards
    Do you make it right, it works too!
Sign In or Register to comment.