Classic Report runs RTC

gtrgtr Member Posts: 131
Hello,

I'm programming a report on a NAV2009 Classic Client.
The Report is triggered on a form.
On my PC there is only Classic client installed (no RTC) and the report prints correctly.
But when I run the report on a PC where RTC was installed (without being used) then the system tries to run RTC - which fails because it is not setup :
So there are several Warning messages coming up but finally the report prints.
Can someone explain to me why running the report is trying to run RTC ?

Thanks !

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Because in NAV2009 reports can have two layouts: one for the classic client (through Sections) and one for the RTC (through Visual Studio). You can delete the RTC layout for a report via Tools -> Delete Layout in order to use the layout for the classic client (even when printed using the RTC).

    But when a report is printed through the classic client it should not start the RTC. That is strange.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Jan_VeenendaalJan_Veenendaal Member Posts: 206
    How is the report triggered from the form?
    I guess that this is done using the hyperlink-feature instead of just running the report using the REPORT.RUN c/al code ?
    Jan Veenendaal
  • gtrgtr Member Posts: 131
    Don't know how this could be done by what you call Hyperlink feature nor if it should.

    So here is how report is triggered :

    IF ISCLEAR(FilePDF) THEN
    CREATE(FilePDF);

    IF ISCLEAR(BullZipPDF) THEN
    CREATE(BullZipPDF);

    Filename1 := ...

    IF EXISTS(Filename1) THEN
    ERASE(Filename1);

    BullZipPDF.Init;
    BullZipPDF.LoadSettings;
    RunOnceFile := BullZipPDF.GetSettingsFileName;
    BullZipPDF.SetValue('Output', Filename1);
    BullZipPDF.SetValue('ShowSettings', 'never');
    BullZipPDF.SetValue('ShowPDF', 'no');
    BullZipPDF.SetValue('ShowProgress', 'no');
    BullZipPDF.SetValue('ShowProgressFinished', 'no');
    BullZipPDF.SetValue('SuppressErrors', 'no');
    BullZipPDF.SetValue('ConfirmOverwrite', 'no');
    BullZipPDF.WriteSettings;

    LReport.SETTABLEVIEW(LTable);
    LReport.USEREQUESTFORM(FALSE);
    LReport.RUNMODAL;

    CLEAR(FilePDF);
    CLEAR(BullZipPDF);
  • gtrgtr Member Posts: 131
    Please can you please help me ?
    Its nothing completely blocking but if my client could avoid to see crash RTC one time a session : would be nice
  • gtrgtr Member Posts: 131
    No hint at all ! - I searched a lot but I can't find a solution
Sign In or Register to comment.