Hello,
i’m running some queries for a report, and counting the records retrieved from the queries. For some of the queries, i’m expecting zero records; whenever i refresh data i get the message that “No records retrieved for xxx” and then when i want to show the count on a report, the cell is empty. I want to avoid this message and show zero (instead of empty). Can anyone help me with this? Thanks.
I think you can amend a server side JSP file to surpress the no data to fetch message, obviously this will affect all reports. If you search you may be able to find a post on this here.
There are at least three ways that you could display your 0 in a block, firstly you could use an alerter to test for nulls and return 0s instead.
thanks guys,
i could put it in the format for returning 0 when no data is available. works fine. i am also reading the topic in the FAQ on how to suppress the ‘no data to fetch’ message,
thanks for directing the replies to everyone.
sorry for the cross post as i first posted there and then realised there was a saperate post for WI!!!