Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Report Request Page

Posted on by Microsoft Employee

Is there any way when calling a report from a page to skip the request page and go straight to the print preview?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Report Request Page

    Thank you Jonathan, I really appreciate all your help!

  • Verified answer
    keoma Profile Picture
    keoma 32,671 on at
    RE: Report Request Page

    this is not possible.

    but you can save the report as pdf with command Report.SaveAsPdf, then copy the file from server to client using cu FileManagement (download/upload) and then run and open the created pdf document using your standard pdf tool. from there you can then decide to print the pdf document or not.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Report Request Page

    When I do set the UserRequestPage to no or False the report goes straight to the printer.  I would like to display the print preview without having to press the button.

  • Suggested answer
    sanjeet Profile Picture
    sanjeet 2,205 on at
    RE: Report Request Page

    Change the properties of Report "UseRequestPage" NO.

  • Suggested answer
    TharangaC Profile Picture
    TharangaC 23,116 on at
    RE: Report Request Page

    Yes you can do that in NAV. As archer said you need to have the developer license to access the code of NAV.

    If you have the developer license then go to the page where your report is been called and have this code,

    ReportVar.UseRequestPage (FALSE);

    ReportVar.RUNMODAL;

    For more info about the UseRequestPage please refer this link : msdn.microsoft.com/.../dd354924(v=nav.70).aspx

  • Suggested answer
    keoma Profile Picture
    keoma 32,671 on at
    RE: Report Request Page

    to do that you need a developer license or contact your nav partner.

    it's needed to edit the called report in the dev.env. from object designer.

    there select the last, empty line of the edited report (dataitems) and view the report properties, set the property userequestpage to false, save the report.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,640 on at
    RE: Report Request Page

    Yes you can do that using setting USEREQUESTPAGE on the report properties to false or through the code you can set that property to false like below example.

            SomeReport.USEREQUESTPAGE(FALSE);

            SomeReport.RUNMODAL;

    Where SomeReport is the variable of the report you want to run.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,302 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans