Users have a report based on a query. The query contains a parameter query such that the when the report opens, the parameter query triggers, the users input data and the report opens with the appropriate data.
The users then said that if the report opens blank (i.e, no data), they want a note to appear stating that there is no data. To do this, in the On No Data event of the report, code unhides a label stating no data is present.
Here is the question. Users now want the no data message to indicate what was input in the parameter query. For example, Users input XYZ into the parameter query when the report opens and there is no data. The message would then return XYZ has no data.
Is there a way to pass the parameter value to the report if the parameter returns no data?
If not, I figure I could check the data for results using a Dcount first and if no data open a different report.