If NO_DATA_FOUND then want to print message instead layout

The report has dynamic query, which is built on base of parameters passed by USER at run-time.
Suppose if no data is returned for that query, (1)how can I avoid printing regular titles and (2) print some other message saying data is not found.
Thanks,
Nirav

On your data model, create a report-level summary column that counts some column in your report. Then, on the layout model, create a boilerplate text containing the message that you want displayed when there are no records fetched. Then create a format trigger for the boilerplate that suppresses it when there are records, but displays it when there aren't. ex:
if :summary_column is null then
return true;
else
return false;
end if;

Similar Messages

Maybe you are looking for

  • Issue accessing VMs via RDweb

    Hi All, I have followed the article written below by Keith, and have set up a virtual network on Azure with one machine hosting AD & DNS, and the other configured for RDP session virtualisation (so i can publish an app for multi user access) http://b

  • [SOLVED]no sound in both headphone and speaker after update (alsa)

    No sound after update. But, I can hear sound in headphone after install pulseaudio, while there is no sound in speaker (after plugging out headphone). I have tried some methods in related wiki articles, such as alsa and pulseaudio, but not works. My

  • InDesign CC: Text in editable text fields disappearing after exporting

    Hi, I'm having an issue of text disappearing from editable text fields after exporting the document as an interactive pdf. I've created the text that needs to be editable in acrobat with InDesign CC. So for example, I want to have an editable text fi

  • Email bursting without attachment

    Dear all, while using email bursting to send out bi report, we have to provide a sql. my sql statement is here: select distinct Operation."Market Director (MD)" KEY, 'Standard' TEMPLATE, 'RTF' TEMPLATE_FORMAT, 'en-US' LOCALE, 'PDF' OUTPUT_FORMAT, 'EM

  • Please help! Connection!

    When I plug in my ethernet cable to my PB it does not recognize my internet connection. When I plug in the same ethernet cable into my other computers, it works fine. It is something with my PB ethernet connection, for some reason it just quit workin