Focal Point
Display report heading when not rows of details are found

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

August 26, 2008, 01:38 PM
Daren
Display report heading when not rows of details are found
I have a little report that in displays the Part Number and Description in the heading.
The content of the report is the Quantity on hand and its location.


When there is no inventory on hand, the item is not found in the file.
When this happens I get the "No HTML Output!" message with the number of records.

Instead of this, I want to display the heading and some "No Invenotry" message.

Please help.

Daren


Web Focus 7.6.5
JDE World
August 26, 2008, 01:51 PM
Prarie
Darin,

If you will do a SEARCH on Empty Report - you will find several discussion on how to accomplish this. Good Luck.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
-SET &CTY = 'USA';
TABLE FILE CAR
PRINT MODEL
BY COUNTRY
BY CAR
IF COUNTRY EQ '&CTY';
END
-IF &LINES EQ 0 THEN GOTO NOOUTPUT;
-EXIT
-NOOUTPUT
-HTMLFORM BEGIN




NOOUTPUT


No data found for country: &CTY




-HTMLFORM END
END
-EXIT



WF 8 version 8.2.04. Windows.
In focus since 1990.
sorry, that did not post well.


WF 8 version 8.2.04. Windows.
In focus since 1990.
Spence, Use the code tag on the right top of mesage text box to post the code.

regards,
chirag


7.6.11
Linux
Excel, HTML, PDF