Report Viewer Suppress Warning Message

Hello All,

In my current project, I have a screen with the report viewer object. The user will be able to filter through a bunch of the parameters and will be able to refresh and display the data from my database in the report. In the event there is no data available for the filters entered by the user, you get the following warning message:

image

I do not see a property to suppress this warning message. My goal is to replace this warning message with a popup box instead, alerting the user there is no data available for the selected filters.

In your script, check for the length of the data to ensure there is at least one row or element to work with.