Focal Point
[SOLVED] Single Column Multiple Lines Multiple Fonts

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

September 03, 2020, 09:05 AM
WebFOCUS_Dev
[SOLVED] Single Column Multiple Lines Multiple Fonts
Hello

I am working on a report which needs to display multiple lines in single column.
Can I have different font and other styling attributes for 3 lines in single field? There will be an image in one of those lines as well. Requirement makes me have it in single field only.
DEFINE FILE CAR
FLD1/A50 = '10.25% <BR> GOOD <BR> CHANGE FROM AVG 2%';
END
TABLE FILE CAR
SUM
FLD1 AS ''
BY COUNTRY AS ''
WHERE COUNTRY EQ 'ENGLAND';
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=12, STYLE=NORMAL, JUSTIFY=CENTER, $
ENDSTYLE
END

Please suggest. Thank you.

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


WebFOCUS 8206
All formats
September 03, 2020, 06:16 PM
Waz
Oh, I wish FOLD-LINE still worked


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!

September 04, 2020, 04:05 PM
WebFOCUS_Dev
quote:
Originally posted by Waz:
Oh, I wish FOLD-LINE still worked

Never used it. Will look into it. I am not able to find any other way for now. Will open a ticket with IBI and see.


WebFOCUS 8206
All formats
September 07, 2020, 01:24 AM
Danny-SRL
Could this do it for you?
  
DEFINE FILE CAR
FLD1/A150 = '10.25%<p style="color:red"> GOOD </p>CHANGE FROM AVG 2%';
END
TABLE FILE CAR
SUM
FLD1 AS ''
BY COUNTRY AS ''
WHERE COUNTRY EQ 'ENGLAND';
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=12, STYLE=NORMAL, JUSTIFY=CENTER, $
ENDSTYLE
END



Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

September 08, 2020, 11:04 AM
WebFOCUS_Dev
Thanks danny.
quote:
Originally posted by Danny-SRL:
Could this do it for you?
  
DEFINE FILE CAR
FLD1/A150 = '10.25%<p style="color:red"> GOOD </p>CHANGE FROM AVG 2%';
END
TABLE FILE CAR
SUM
FLD1 AS ''
BY COUNTRY AS ''
WHERE COUNTRY EQ 'ENGLAND';
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=12, STYLE=NORMAL, JUSTIFY=CENTER, $
ENDSTYLE
END



WebFOCUS 8206
All formats