I have the following code which will provide 3 columns after the ACROSS columns. I can get the data to alternate colors in my styling but I cannot do anything with the Titles or column headings. The problem I think is that they actually appear on the same line as the ACROSS data. Any Sugestions
Sorry forgot to post the code:
DEFINE FILE VW_RPT_AIR_RAW_DATA ENDDTR/MDYY ='&ENDDTMDYY.EVAL'; ENDDT/YYMD=ENDDTR; STRTDT/YYMD= DATEADD(ENDDT,'M',-12); RDATE/tMYY=RESULT_DATE; TDATE/YYMD=RESULT_DATE; END TABLE FILE VW_RPT_AIR_RAW_DATA SUM RESULT/D12.2 AS '' BY UNIT_NAME AS 'Proc Unit Ident' BY PARAM_NAME AS 'Param Name' BY RESULT_UNIT AS 'Unit' ACROSS RDATE AS '' COMPUTE AVERAGE/D12.2 = ( C1 + C2 + C3 + C4 + C5 + C6 + C7 + C8 + C9 + C10 + C11 + C12 ) / 12; AS 'Average' COMPUTE MINI/D12.2 = MIN(C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12); AS 'Minimum' COMPUTE MAXI/D12.2 = MAX(C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12); AS 'Maximum' HEADING "eCAT PI Raw Data Report" "Site: "End Date: &ENDDT" " " WHERE SITE EQ '&SITE'; WHERE ( TDATE GT STRTDT ) AND ( TDATE LE ENDDT );This message has been edited. Last edited by: Dgraff,
Duane
WebFOCUS 8.0.7 DS 8.0.7 AS 8.0.7 Windows Output: Excel, HTML, PDF, AHTML,Mobile In Focus 1982
November 13, 2007, 01:27 PM
Francis Mariani
Duane,
Please post your code (and preferably within
[code]
[/code]
tags).
Cheers,
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 13, 2007, 02:42 PM
Prarie
Try something like this.
TYPE=ACROSSTITLE, ACROSS=1, BACKCOLOR='SILVER',
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
November 13, 2007, 02:58 PM
Dgraff
Prarie,
Works for the months but not the computed fields (MIN MAX and AVE)
Duane
WebFOCUS 8.0.7 DS 8.0.7 AS 8.0.7 Windows Output: Excel, HTML, PDF, AHTML,Mobile In Focus 1982
November 13, 2007, 03:35 PM
Francis Mariani
Try
TYPE=ACROSSVALUE, STYLE=BOLD, $
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 13, 2007, 04:02 PM
Dgraff
quote:
TYPE=ACROSSTITLE, ACROSS=1, BACKCOLOR='SILVER',
ok HERE IS WHAT IS GIVING ME THE DISIRED RESULTS: I removed all styling that delt with an ACROSS. Then rather than selecting the column or data and doing a right click I went in at the report level icon on\in DS. Scrolled to ACROSS COlumn and made my selections. It now works.
Please note you need both of these: The first Acrossvalue takes care of the COMPUTED fields the second takes care of the DATA from the ACROSS: TYPE=ACROSSVALUE, COLOR='BLACK', BACKCOLOR='GRAY', STYLE=BOLD, TOPGAP=0.013889, BOTTOMGAP=0.027778, JUSTIFY=LEFT, $ TYPE=ACROSSVALUE, ACROSS=1, COLOR='BLACK', BACKCOLOR='GRAY', TOPGAP=0.013889, BOTTOMGAP=0.027778, $
Thanks for the help and sugestions.This message has been edited. Last edited by: Dgraff,
Duane
WebFOCUS 8.0.7 DS 8.0.7 AS 8.0.7 Windows Output: Excel, HTML, PDF, AHTML,Mobile In Focus 1982
November 13, 2007, 04:11 PM
Francis Mariani
It would help more if you showed us the generated code of the steps you took.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server