CosmoKramer
Programmer
I have a report that is passed three parameters: start date, stop date, and dept_id. When there are no records for that particular department and date range, I would like a custom message to appear. Something like:
"There are no appointments for department: Cardiology"
I can display a hard-coded default message that doesn't contain the department name, when there is no data, such as:
"There are no appointments for the selected department"
but the user doesn't want that, they want to see the department they selected.
I tried adding a subreport that contained the department name field and I linked the id from the parameter dept_id field to the id field in that table. That only works when data is returned, not when there is no data.
Is this possible??
"There are no appointments for department: Cardiology"
I can display a hard-coded default message that doesn't contain the department name, when there is no data, such as:
"There are no appointments for the selected department"
but the user doesn't want that, they want to see the department they selected.
I tried adding a subreport that contained the department name field and I linked the id from the parameter dept_id field to the id field in that table. That only works when data is returned, not when there is no data.
Is this possible??