Focal Point
Styling Parts of WebFOCUS Report

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

December 04, 2006, 02:42 PM
Tomsweb
Styling Parts of WebFOCUS Report
Has anyone used SET CSSURL = in a WebFOCUS fex to style various elements of a report?

I am trying to call one, and not seeing that is works...do I need to place the file path in quotes?

Any ideas? Roll Eyes

Thanks!


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
December 04, 2006, 02:49 PM
RichH
Here is a sample focexec using the CAR FOCUS database:

TABLE FILE CAR
PRINT CAR AS
-*'CAR'
'</U>CAR<U>'
MODEL BODYTYPE
BY COUNTRY
ON TABLE SET CSSURL 'C:\ibi\WebFOCUS71\basedir\untitled\app\nocolt.css'
-*ON TABLE SET HTMLCSS ON
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET STYLE *
TYPE=REPORT,GRID=ON,$
TYPE=TITLE,CLASS=reportTitles, $
TYPE=DATA,CLASS=reportData,$
ENDSTYLE
END


nocolt.css file:

TABLE {border-width:1px;
       border-color:blue;
}
 
TD {color:green; border:none}
.reportTitles {color:blue; border:none}
.reportData {color:purple; border:none}



The TABLE attribute can be used to control the border settings along with
border:none for the other attributes and GRID=ON.

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


WebFOCUS 8202 Win 2012
Test - WebFOCUS 8203 on Win 2012
December 04, 2006, 03:31 PM
Tomsweb
Smiler Rich!


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36