|
Re: Reg:How to display No data found message(Urgent pls) [message #115941 is a reply to message #115306] |
Wed, 25 January 2006 07:36  |
Eclipse User |
|
|
|
There may be an easier way of doing this, but one way is to:
In the initialize script put a variable like
rwcnt = 0;
In the onFetch script of the data set put
rwcnt += 1;
Then on the table that uses the data click on the visibility property and
enter the following expression
if( rwcnt == 0 ){
true;
}else{
false;
}
This will hide the table. You can then put a label on the report below the
table that says "No Data Available"
and put the exact opposite visibility expression.
Another option is to set a mapping entry on the table that has the
expression
if( rwcnt == 0)
then display
No Data
Hope this helps
Jason Weathersby
BIRT PMC
"Suma latha" <buday@metrikus.com> wrote in message
news:73d82f19e6195f96535a2fb8067aa054$1@www.eclipse.org...
>
> Hi,
>
> How to display a message such as "No data found" if the result of a query
> gives no data?
>
> pls help me in this aspect
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.23818 seconds