Focal Point
[CLOSED] Formatting issue

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

February 24, 2009, 08:13 AM
Chaitra
[CLOSED] Formatting issue
Hello,

One of the column title is "Over/(Short)". Is it possible to display "Over/" in white color and "(Short)" in red color?

Thanks
Chaitra

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


WebFocus 7.1.4 through Citrix,Windows/UNIX
February 24, 2009, 08:48 AM
GamP
If this concerns HTML output, you could try to put in an as clause that also contains the html code to show text in red. Something like:
 
PRINT COLUMN AS 'Over/<font color=red>(Short)</font>'
 

I tested this with the car databse and that works as desired. Other output than HTML would be a problem I guess. Haven't tried it (yet).


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
February 27, 2009, 07:34 AM
Chaitra
Thanks a lot GamP.

It worked for AHTML format.

I need to display same way in Excel and PDF also. Any Idea Gam

Thanks again
Chaitra


WebFocus 7.1.4 through Citrix,Windows/UNIX
February 27, 2009, 11:11 AM
Darin Lee
There is no provision in WF for styling only part of a column title. The aforementioned technique only works because HTML will interpret anything that appears to be an HTML tag. Since those are not used in Excel/PDF, that won't work.

One option would be to create your column headings in a subhead, then you can individually style the lines like you need.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat