Focal Point
Redirecting the NO HTML Data Result

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5471060361

April 10, 2006, 05:12 PM
BenC
Redirecting the NO HTML Data Result
Hi All,

I was working with some reports, and I have found that alot of times users try to run reports with empty data. And whenever they see the NO HTML output page, they tell me that the report is broken. Is there anyway I can change where the no data page points to?
April 10, 2006, 05:15 PM
reFOCUSing
There is a lot of topics on this already. Please do a Search.

Here is one of the topics I found.
https://forums.informationbuilders.com/eve/forums/a/...661078331#2661078331
April 10, 2006, 05:22 PM
<Tim Howard_ABCBS>
I'm using the following code to handle these situations:


-*-DEFAULT &NORETMSG = 'Request Returned No Data'
-SET &NORETMSG = IF &INMSG EQ '' THEN 'Request Returned No Data' ELSE &INMSG;

-IF &LINES LT 1 THEN GOTO NORETURN;
-EXIT
-NORETURN
-HTMLFORM BEGIN









!IBI.AMP.NORETMSG;



-HTMLFORM END

You can change the default text by changing the &NORETMSG variable.
April 10, 2006, 10:32 PM
susannah
Tim, turn your CODE tags on, dude.
Ben, you can use a nice feature
SET EMPTYREPORT=ON




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
April 11, 2006, 02:42 PM
BenC
Thanks for the help with this. I'm sure I will get fewer complaints now.