Focal Point
[CLOSED] Show report heading only in pdf and excel

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

March 10, 2011, 06:18 AM
Carlos Dias
[CLOSED] Show report heading only in pdf and excel
How can I show the report heading only in pdf and excel format?

Thanks in advanced,
Carlos Dias

This message has been edited. Last edited by: Kerry,


WebFOCUS version: 7.6
Linux/Windows
HTML, Excel
March 10, 2011, 07:44 AM
GamP
Use IF statements in your request to decide to print the heading, depending upon the type of output. For instance:
-IF &WFFMT EQ 'HTML' THEN GOTO NO_HEAD;
HEADING
"TEXT"
-NO_HEAD



GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
March 15, 2011, 05:41 PM
Enigma006
Else set up an amper variable var1 and assign it ' ' for pdf and excel and '-*' for others. Put that amper variable before HEADING and next line.
   
&var1 HEADING
&var1 "Text"

GamP suggestion is also great.


8.1.05
HTML,PDF,EXL2K, Active, All