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

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Check to see if a repo...
Finance forum
Under review by Community Managers

Under review

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

Check to see if a report has no data

Posted on by
 
Hi, I want to check and see if my report has any data, and if not, throw an error message
 
I have a report where the report design and data is  based on a parameter that the user selects.
 
So I don't know what the dataset will be until the user selects a parameter.
 
I want to stop the report from running by throwing up a 'no data' error.
 
I tried doing this in the preRunModifyContract() (where the report design is selected) and it worked.  But I also get a major system error
saying that something went wrong running the report which is a little extreme.
 
What's the best place to do this.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans