Focal Point
[CLOSED] ACROSSVALUE Formatting

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

November 19, 2019, 05:02 PM
JJ
[CLOSED] ACROSSVALUE Formatting
Is there any way to draw the vertical line between two countries all the way down to end of the report?
I have several ACROSS columns on the report.
Also, I have to do alternate coloring on Country(ACROSSVALUE). Thank you!

DEFINE FILE CAR
NEWMODEL/A24=PARAG(24, MODEL, ';', 8, NEWMODEL);
MODELP1/A8=GETTOK(NEWMODEL, 24, 1, ';', 8, MODELP1);
MODELP2/A8=GETTOK(NEWMODEL, 24, 2, ';', 8, MODELP2);
MODELP3/A8=GETTOK(NEWMODEL, 24, 3, ';', 8, MODELP3);
END
TABLE FILE CAR
SUM RCOST
ACROSS COUNTRY AS ''
ACROSS MODEL NOPRINT
ACROSS MODELP1 AS ''
ACROSS MODELP2 AS ''
ACROSS MODELP3 AS ''
BY CAR
ON TABLE SET PAGE OFF
ON TABLE SET STYLE *
TYPE=REPORT, ORIENTATION=LANDSCAPE, FONT='ARIAL',$
TYPE=REPORT, GRID=OFF, $
TYPE=ACROSSVALUE, ACROSS=COUNTRY, BORDER-RIGHT=MEDIUM, BORDER-LEFT=MEDIUM, BACKCOLOR=( 'YELLOW' 'WHITE' ), JUSTIFY=CENTER,$
TYPE=ACROSSVALUE, ACROSS=MODELP1, COLOR=RED,$
TYPE=ACROSSVALUE, ACROSS=MODELP2, COLOR=RED,$
TYPE=ACROSSVALUE, ACROSS=MODELP3, COLOR=RED,$
ENDSTYLE
ON TABLE HOLD AS HOLDFILE1 FORMAT HTMTABLE
END
-******************************************
SET HTMLFORMTYPE=XLS
-RUN
-HTMLFORM BEGIN
<html xmlns:o="urn:schemas-microsoft-com:office:office"
 xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">
 <head>
 <meta http-equiv=Content-Type content="text/html;">
 <meta name=ProgId content=Excel.Sheet>
 <meta name=Generator content="Microsoft Excel 10">
<style>
</head>
<TABLE>
<TR>
<TD class="accountnum">
!IBI.FIL.HOLDFILE1;
</TD>
</TR>
</TABLE>
-HTMLFORM END

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.2.05
Windows 2003
Excel, HTML, PDF
November 19, 2019, 05:11 PM
Waz
I would suggest doing it with CSS, assuming HTML is the only output.

You will have to add the css to your HTMLFORM and tag the across values with the classname.


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!