Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Active Reports Across Title Styling

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Active Reports Across Title Styling
 Login/Join
 
Member
posted
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
 
Posts: 6 | Registered: August 12, 2009Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Expert
posted Hide Post
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
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
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 Wink

T

This 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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
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
 
Posts: 6 | Registered: August 12, 2009Report This Post
Expert
posted Hide Post
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
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.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Member
posted Hide Post
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'

ON CAR.ORIGIN.COUNTRY SUBTOTAL MULTILINES AS '*TOTAL'
HEADING
"Title of the Report"
ON TABLE SET PAGE-NUM OFF
ON TABLE ROW-TOTAL AS 'TOTAL'
ON TABLE COLUMN-TOTAL AS 'TOTAL'
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='VERDANA',
SIZE=10,
$
TYPE=DATA,
SIZE=8,
COLOR='BLACK',
BACKCOLOR=( 'WHITE' RGB(235 235 235) ),
$
TYPE=TITLE,
SIZE=8,
COLOR='WHITE',
BACKCOLOR=RGB(0 51 102),
STYLE=-UNDERLINE+BOLD,
JUSTIFY=CENTER,
$
TYPE=TABHEADING,
SIZE=12,
COLOR=RGB(0 51 102),
STYLE=BOLD,
$
TYPE=TABFOOTING,
COLOR=RGB(150 150 150),
STYLE=BOLD,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=1,
SIZE=14,
COLOR=RGB(0 51 102),
STYLE=BOLD,
$
TYPE=HEADING,
LINE=2,
OBJECT=TEXT,
ITEM=1,
SIZE=8,
COLOR=RGB(0 51 102),
JUSTIFY=LEFT,
$
TYPE=HEADING,
LINE=2,
OBJECT=TEXT,
ITEM=2,
SIZE=8,
COLOR=RGB(0 51 102),
JUSTIFY=LEFT,
$
TYPE=HEADING,
LINE=3,
SIZE=12,
COLOR=RGB(0 51 102),
STYLE=BOLD,
JUSTIFY=LEFT,
$
TYPE=FOOTING,
COLOR=RGB(150 150 150),
STYLE=BOLD,
JUSTIFY=RIGHT,
HEADALIGN=BODY,
$
TYPE=SUBHEAD,
SIZE=8,
COLOR=RGB(0 51 102),
STYLE=BOLD,
$
TYPE=SUBFOOT,
SIZE=8,
COLOR=RGB(0 51 102),
STYLE=BOLD,
$
TYPE=SUBTOTAL,
SIZE=8,
COLOR='WHITE',
BACKCOLOR=RGB(150 150 150),
STYLE=BOLD,
$
TYPE=ACROSSVALUE,
SIZE=8,
COLOR='WHITE',
BACKCOLOR='GRAY',
STYLE=-UNDERLINE+BOLD,
JUSTIFY=CENTER,
$
TYPE=ACROSSVALUE,
COLUMN=ROWTOTAL(1),
BACKCOLOR='WHITE',
$
TYPE=ACROSSTITLE,
SIZE=8,
COLOR='DIM GRAY',
STYLE=-UNDERLINE+BOLD,
JUSTIFY=CENTER,
$
TYPE=GRANDTOTAL,
SIZE=8,
COLOR='WHITE',
BACKCOLOR=RGB(51 51 51),
STYLE=BOLD,
$
TYPE=REPORT,
OBJECT=STATUS-AREA,
PAGE-LOCATION=BOTTOM,
$
TYPE=REPORT,
OBJECT=CURRENT-ROW,
HOVER-BACKCOLOR=RGB(154 191 226),
BACKCOLOR=RGB(40 81 120),
$
ENDSTYLE
END


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
 
Posts: 6 | Registered: August 12, 2009Report This Post
Member
posted Hide Post
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:

TYPE=TITLE,
ACROSSCOLUMN=N1,
BACKCOLOR=RGB(255 204 0),
$

Thus, report painter tries to style this area with TYPE=TITLE and ACROSSCOLUMN=N1 (or, I assume, N* would work as well).

But active reports do not reflect this styling. Thinking this is a bug.


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
 
Posts: 6 | Registered: August 12, 2009Report This Post
Expert
posted Hide Post
Try this to get rid of the column names:

SUM
'CAR.BODY.SALES' AS '&|nbsp;'


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Worked great. Good thinking on that one.

Thanks!


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
 
Posts: 6 | Registered: August 12, 2009Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Active Reports Across Title Styling

Copyright © 1996-2020 Information Builders