NAV 2009 R2: Run Report In Preview Mode.. How Do I?

infonoteinfonote Member Posts: 233
edited 2014-01-24 in NAV Three Tier
Hi,

I have an RTC report which through code calls another report.
Now when I run the first report in preview mode, it runs another report. My question is:

How can I run the other report in preview mode also?

The only idea that appears is to create a function in the second report to run as preview mode.

Thanks in advance
Peter

Comments

  • geordiegeordie Member Posts: 655
    With classic client it was possible to achieve it using Windows Script Host:
    ReportToRun.RUN;
    CREATE(WshShell);
    WshShell.SendKeys('%{v}');
    CLEAR(WshShell);
    

    I don't know if it works in RTC too :oops:
Sign In or Register to comment.