Skip to main content

Notifications

Announcements

No record found.

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

  • mmv Profile Picture
    11,467 on at
    RE: Run report Without request page

    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

  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    23,116 on at
    RE: Run report Without request page

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

  • Suggested answer
    Suresh Kulla Profile Picture
    47,688 on at
    RE: Run report Without request page

    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);

  • NavTech Profile Picture
    2,390 on at
    RE: Run report Without request page

    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.  

  • mmv Profile Picture
    11,467 on at
    RE: Run report Without request page

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans