Having trouble styling (or removing) a particular component in an active report. The area in question is in an across under the ACROSSVALUE where the TITLE element would be for a normal column. Strange thing is these row titles don't show up at all in other formats, like HTML, PDF, Excel, etc.
Broken Active report:
Working Excel:
Working HTML:
Working PDF:
Any ideas on which TYPE and OBJECT I would need to use to reference this element, or how to make it go away altogether?This message has been edited. Last edited by: Kerry,
WF Server: 7.6.10 on Linux, ReportCaster, MRE, Flex Data: Oracle Output: HTML,PDF,EXL2K, AHTML, Flex WF Client: 7.6.10 on Windows XP
May 11, 2010, 08:01 PM
Dan Satchell
If you haven't already, try setting the AS title for SALES to null or blank. For example:
TABLE FILE CAR
SUM SALES AS ''
BY COUNTRY NOPRINT SUBTOTAL
BY CAR
BY COUNTRY
BY MODEL
ACROSS COUNTRY
ACROSS SEATS
END
WebFOCUS 7.7.05
May 11, 2010, 08:20 PM
Doug
Nice screen shots... How about posting your code for the above to give us something to play with?
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
May 12, 2010, 05:01 AM
Tony A
Oh come on Doug, you should be able to determine the basic code from that -
TABLE FILE CAR
SUM DCOST
BY CAR
BY COUNTRY
BY MODEL
ACROSS COUNTRY SUBTOTAL MULTILINES
ACROSS SEATS
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE NOLEAD
ON TABLE ROW-TOTAL
END
Of course someone has just woken you up
TThis message has been edited. Last edited by: Tony A,
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
May 12, 2010, 11:53 AM
gkoerk
Weel, the SUM SALES AS '' didn't work. It just did this:
So I guess I am back to the original question... How to make it disappear or allow me to style it. Which TYPE and OBJECT would I use?
WF Server: 7.6.10 on Linux, ReportCaster, MRE, Flex Data: Oracle Output: HTML,PDF,EXL2K, AHTML, Flex WF Client: 7.6.10 on Windows XP
May 12, 2010, 12:02 PM
Francis Mariani
How about finally posting your code, including the styling? It seems odd you're getting Column3, Column4, etc.
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
May 12, 2010, 12:14 PM
GinnyJakes
I just played around with this to what was going on. For Active Reports with ACROSS, you get the name of the field repeated on the same line as the titles for the BY fields. If you use AS '' to remove the 'title' for the across, you get the COLUMN1, COLUMN2, etc. I think that is generated because of the control that gets generated for each column to allow you to operate on that column, i.e. sort, hide, graph, etc.
The only way I can think to remove that is to do the ACROSS into a HOLD file then do the active report on the hold file.
Here is a simplified version of the code that gets the same results:
TABLE FILE CAR SUM 'CAR.BODY.SALES' AS '' BY 'CAR.COMP.CAR' BY 'CAR.ORIGIN.COUNTRY' BY 'CAR.CARREC.MODEL' ACROSS 'CAR.ORIGIN.COUNTRY' ACROSS 'CAR.BODY.SEATS'
WF Server: 7.6.10 on Linux, ReportCaster, MRE, Flex Data: Oracle Output: HTML,PDF,EXL2K, AHTML, Flex WF Client: 7.6.10 on Windows XP
May 13, 2010, 12:49 PM
gkoerk
In the Report Painter GUI, if I select the data column in the SUM (SALES) and choose to style the Title, it looks correct on the sample report on the painter page, and generates the following code: