If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

No Data found to be displayed for a section

Started by Desperado, 03 Jun 2008 10:08:22 AM

Previous topic - Next topic

Desperado

Hi ALL,

I have to display "No data found" message if no rows are returned. I have seen the document in the support. But that is not solving my issue.

I have a section for the list. I'm setting up the No data found error message to be displayed. But the problem is if the section has no data, then i can just see the no data found message on the blank page  with out the list headers.

My requirement is i have to populate the list headers and the No data found message.

How should i do this ?

blom0344

Apply a conditional renderer to the list headers that always defaults to true?

Desperado

My requirement is i have to display all the section headers, list headers and the no data found message.... I tried inserting a table and hard coding the details in it. But the client want the layout to be matching with the original layout with data.
Abt the conditional renderer, how do i use this? is this something to do with java scripting?
Thanks in Advance

blom0344

No, this is not anything Java. You can define a Boolean variable (through insertable objects) and define this as a logical expression. (the outcome is either true or false/ yes/no)
In the list you can select the columnlist or list column title and apply the boolean variable in properties --> Text Source Variable

Desperado

I tried it. i created and expression rowcount =0 and applied it to the list column header text source variable. But i didn't get the list header displayed.

I feel that as there is a section, it is not showing up the list header part.

One method i did is, i created the same list and hard coded the section part and placed it in the no data found region that i'm displaying.
It's working.... But its a rough approach.
Even to do it with conditional block also, it takes lots of time.
I was thinking there might be some other way to do it. :(
thanks in Advance.