web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Run report Without request page

(0) ShareShare
ReportReport
Posted on by 2,390

I am calling the a report from process only report and I dont want system to show request page .When I use the command REPORT.RUNMODAL(50008,True,FALSE,grecTest);

Report is showing request page but if I use REPORT.RUNMODAL(50008,FALSE,FALSE,grecTest);

It is not running the report. I have set UseRequestPage property of report as NO

*This post is locked for comments

I have the same question (0)
  • mmv Profile Picture
    11,471 on at

    Hi,

    REPORT.RUNMODAL(50008,FALSE,FALSE,grecTest); is the correct statement.  Did you check what is the value in grecTest?  Is it yielding any record?  Is the grecTest is of the same type as DataItem set in the report?

    Check whether grecTest is yielding any data.  If it's yielding any data, pls run the report separately using that data and check whether the report is running.

    Best Regards,

    Mahesh

  • NavTech Profile Picture
    2,390 on at

    grecTest is correct and getting data correctly because when i use statement REPORT.RUNMODAL(50008,TRUE,FALSE,grecTest); then it run the report request page with correct values and on preview report shows correct result.but when I use REPORT.RUNMODAL(50008,FALSE,FALSE,grecTest); nothing happens. when I used debugger code of report is executing but don't know why there is no preview.  

  • Suggested answer
    Suresh Kulla Profile Picture
    50,269 Super User 2026 Season 1 on at

    Your statement should work properly try below two scenarios

    REPORT.RUNMODAL(50008,FALSE,TRUE,grecTest) and if that does not work try

    grecTest.FINDLAST;

    grecTest.SETRECFILTER;

    Report.RUN(50008, FALSE, FALSE, MyRec);

    or

    grecTest.FINDLAST;

    grecTest.SETRECFILTER;

    Report.RUN(50008, FALSE, TRUE, MyRec);

  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    23,118 on at

    Set the DataItemTableView keys for the every dataitems in the report and try.

  • mmv Profile Picture
    11,471 on at

    Hi,

    Set the default printer as PDF (if you have) and could you try whether the below works:-

    REPORT.RUNMODAL(50008,FALSE,TRUE,grecTest);

    Best Regards,

    MMV

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans