Focal Point
[SOLVED] + symbol in pdf compound report

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

July 11, 2012, 05:20 AM
Satish Bandimata
[SOLVED] + symbol in pdf compound report
This code is from forum:
+ symbol is coming in html output but not in PDF. I need to use '+' sybol in a pdf compound report.

-SET &XTITLE = 'AUTO' | '&|#43;' | 'MOBILE';
DEFINE FILE CAR
AUTO,MOBILE/A20 = CAR;
END

TABLE FILE CAR
PRINT
CAR AS &XTITLE
AUTO,MOBILE
COMPUTE MOBILE,AUTO/A20 = CAR ;
BY COUNTRY
ON TABLE PCHOLD FORMAT PDF
END

Thanks in Advance
-Satish

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


WebFOCUS 7.6
Windows, All Outputs
July 11, 2012, 05:52 AM
MichaelBalle
use this:

-SET &OUTPUT = 'HTML';
-*-SET &OUTPUT = 'PDF';
-SET &XTITLE = IF(&OUTPUT NE 'HTML') THEN 'AUTO' | '+' | 'MOBILE' ELSE 'AUTO' | '&|#43;' | 'MOBILE' ;
-*
DEFINE FILE CAR
AUTO,MOBILE/A20 = CAR;
END

TABLE FILE CAR
PRINT
CAR AS &XTITLE
AUTO,MOBILE
COMPUTE MOBILE,AUTO/A20 = CAR ;
BY COUNTRY
ON TABLE PCHOLD FORMAT &OUTPUT
-* ON TABLE HOLD AS test_mb
END




WebFOCUS 7.6, 7.7
Windows, All Output formats
July 11, 2012, 06:34 AM
Tony A
-SET &XTITLE = 'AUTO' | HEXBYT(43, 'A1') | 'MOBILE' ;

Should work for all formats.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
July 11, 2012, 04:38 PM
Waz
quote:
-SET &XTITLE = 'AUTO' | HEXBYT(43, 'A1') | 'MOBILE' ;


Hey Tony,

What about EBCDIC


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

July 12, 2012, 05:06 AM
Satish Bandimata
Thanks Michael Smiler


WebFOCUS 7.6
Windows, All Outputs
July 12, 2012, 07:04 AM
Tony A
quote:
What about EBCDIC

Hi Waz,

I noticed that Satish stated a windows platform, therefore I did not even entertain the thought! Music

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
July 12, 2012, 05:30 PM
Waz
Sometimes I'm accused of entertaining too many thoughts.
Big Grin


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!