Options

Automation table - 2000000046

ckndr47ckndr47 Member Posts: 100
edited 2009-04-03 in NAV Three Tier
Since Automation table (2000000046) is not supported anymore so whats the substitute?

Comments

  • Options
    ara3nara3n Member Posts: 9,255
    what do you use automation table for?

    The table is still there. What do you mean it's not supported anymore?
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    ckndr47ckndr47 Member Posts: 100
    Its not supported in RTC.

    So suppose if you have any code like this where we are checking something in table Automation
    IsOCXDLLInstalled(ptxtRegistryName : Text[100];ptxtVersion : Text[30]) : Boolean
    lrecAutServers.SETRANGE(Name,ptxtRegistryName);
    lrecAutServers.SETRANGE(Version,ptxtVersion);
    EXIT(lrecAutServers.FINDSET(FALSE,FALSE));
    

    it works allright in the classic client, but when the same code is called from RTC Page, you will get this error:


    "Table 2000000046 is not available and cannot be opened"


    And just to double check, open codeunit AttachmentManagement, see function UseComServer and read the commented out code


    // 5.1 do not support Automation Server table. We assume that MS Word is installed and has a valid version
  • Options
    kinekine Member Posts: 12,562
    It will be problem to support it under RTC. You can create Automation on server side or on client side, from which one you will see the automations in this table? ;-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    ckndr47ckndr47 Member Posts: 100
    Thanks, i understand that but what should be the solution in my case.



    that code is getting transformed to my page, so i can:

    a) add something in coderules that will not transform that code
    b) or easy way just delete that code from the page itself.

    But i am still confused.
  • Options
    kinekine Member Posts: 12,562
    You can use the ISSERVICETIER variable to skip the part of the code...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.