Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Banded not working with over compute
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Banded not working with over compute
 Login/Join
 
Member
posted
ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET SQUEEZE=ON
-DEFAULTH &WF_HTMLENCODE=ON;
SET HTMLENCODE=&WF_HTMLENCODE

SET HTMLCSS=ON
-DEFAULTH &WF_EMPTYREPORT=ON;
SET EMPTYREPORT=&WF_EMPTYREPORT

-DEFAULTH &WF_SUMMARY='Summary';
-DEFAULTH &WF_TITLE='WebFOCUS Report';

TABLE FILE ibisamp/ggsales
SUM
COMPUTE SALES01.BUDDOLLARS AS 'Budget Dollars'
OVER COMPUTE SALES01.DOLLARS AS 'Sale Dollars'
ACROSS GGSALES.SALES01.REGION AS ''
ON TABLE PCHOLD FORMAT HTML
ON TABLE NOTOTAL
ON TABLE SET CACHELINES 100
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, SUMMARY=&WF_SUMMARY.QUOTEDSTRING, ORIENTATION=LANDSCAPE, $
TYPE=DATA, BACKCOLOR=(RGB(255 255 255) RGB(192 192 192)), $
ENDSTYLE
END

-RUN

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


8201
 
Posts: 11 | Registered: April 20, 2018Reply With QuoteReport This Post
Virtuoso
posted Hide Post
https://webfocusinfocenter.inf...29_ReportData242.htm

According to the doc: Alternating backcolors (banded) can be specified for the background of the data lines in a report. These alternating colors are not supported for stacked columns (OVER, FOLD-LINE).


WebFOCUS 8206, Unix, Windows
 
Posts: 1673 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
This does the trick:
  
ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET SQUEEZE=ON
-DEFAULTH &WF_HTMLENCODE=ON;
SET HTMLENCODE=&WF_HTMLENCODE

SET HTMLCSS=ON
-DEFAULTH &WF_EMPTYREPORT=ON;
SET EMPTYREPORT=&WF_EMPTYREPORT

-DEFAULTH &WF_SUMMARY='Summary';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
TABLE FILE ibisamp/ggsales
BY REGION
ON TABLE HOLD
END
-RUN
-SET &R=&LINES * 2;
TABLE FILE ibisamp/ggsales
SUM
COMPUTE SALES01.BUDDOLLARS AS 'Budget Dollars'
OVER 
COMPUTE SALES01.DOLLARS AS 'Sale Dollars'
ACROSS GGSALES.SALES01.REGION AS ''
ON TABLE PCHOLD FORMAT HTML
ON TABLE NOTOTAL
ON TABLE SET CACHELINES 100
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, SUMMARY=&WF_SUMMARY.QUOTEDSTRING, ORIENTATION=LANDSCAPE, $
-*TYPE=DATA, BACKCOLOR=(RGB(255 255 255) RGB(192 192 192)), $
-REPEAT #GREY FOR &G FROM 2 TO &R STEP 2;
TYPE=DATA, COLUMN=N&G, BACKCOLOR=(RGB(192 192 192)), $
-#GREY
ENDSTYLE
END


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

 
Posts: 1934 | Location: Tel Aviv, Israel | Registered: March 23, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Banded not working with over compute

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.