Options

starting classic as service when working in RTC - OCX prob

PomaroliPomaroli Member Posts: 37
edited 2010-06-11 in NAV Three Tier
Hello,
when starting a report in RTC client it starts the classic client as service in backrgound to connect to DB.
Is it possible to do the process in code ? we need to start an OCX which ist not possible to start direct in RTC, but if startet on a report it is working because communication is going by Classic.
thanks

Comments

  • Options
    rdebathrdebath Member Posts: 383
    You mean like this; running a form from the RTC.
    OBJECT Report 50038 Account Schedule Form
    {
      OBJECT-PROPERTIES
      {
        Date=15/12/09;
        Time=13:14:37;
        Version List=RDB20100525;
      }
      PROPERTIES
      {
        UseReqForm=No;
        OnInitReport=BEGIN
                       FORM.RUNMODAL(FORM::"Acc. Schedule Overview");
                       // DATAPORT.RUNMODAL(DATAPORT::Dataport);
                     END;
    
      }
      DATAITEMS
      {
      }
      REQUESTFORM
      {
        PROPERTIES
        {
          Width=9020;
          Height=3410;
        }
        CONTROLS
        {
        }
      }
      CODE
      {
    
        BEGIN
        END.
      }
    }
    
  • Options
    PomaroliPomaroli Member Posts: 37
    yes but how can i send the form rec to the report ?


    the origin problem is that we are using an ocx which is runing on the client side. this ocx does not work on the RTC. (Error saying this process is not supported)
    therefore this is a workaround that i'm trying.
  • Options
    rdebathrdebath Member Posts: 383
    Possibly, but the Rec would have to be saved to the database and the record specified by the filter you pass to the report. You would then fetch it in the report and pass it to the form.

    I doubt that calling functions on the report (from the RTC) will work but it would be sweet if it did.
  • Options
    PomaroliPomaroli Member Posts: 37
    yes perhaps it would work, i hoped somebody from MS can tell us how to open an 2-tier connection in RTC that would be much easier for now so far this is supported. :wink:
Sign In or Register to comment.