Run Report withot Request Page in Preview Mode

ravishahravishah Member Posts: 13
edited 2013-06-20 in NAV Three Tier
Hello All,

I want to Run the Report in Preview Mode Without Opening Request page. I Use Automation Feature 'Windows Script Host Object Model'.WshShell...I got this Functionality in Classic but It's not working in RTC...Can anyone Know How can we Run Report in Preview Mode Wihout Opening Request Page?
Thanks in Advance...

Comments

  • clauslclausl Member Posts: 455
    This is not possible, but you could remove everything from the Request Page, so it is all blank. Look here http://blogs.msdn.com/b/nav/archive/2011/06/06/sales-dashboard-report-updated.aspx for an example on how that is done.

    But why you want to not show the Request Page, what is the scenario you are trying to accomplish?

    /Claus
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
  • avadlaniavadlani Member Posts: 3
    I am trying to do the same thing in NAV2013. I wrote a codeunit to run a report based on parameters received from outside the system and then I want the report to run automatically in the preview mode with no request form. Is it possible? When I try to use the CurrrReport.Preview and try and set that to True. It does not work. Looks like it can only be used to tell us if the report is running in a Preview mode or not. Let me know.

    Thank You!
    Anu
  • postsauravpostsaurav Member Posts: 708
    Hi ravishah,

    As far as I know its not possible to run a report directly via codeunit in preview mode.

    Whenever you will try to use it, it will send report to the default Printer.

    Can you tell us the business requirement behind what you want to achieve.

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
Sign In or Register to comment.