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     [CLOSED] Alternating Line Color and Wrapping in PDF

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Alternating Line Color and Wrapping in PDF
 Login/Join
 
Silver Member
posted
I am currently using the following style syntax to alternate the back color in my report.

TYPE=DATA,
BACKCOLOR=( 'WHITE' RGB(231 231 231) ),

This works great except for when a column wraps. The top portion is one color and the bottom or wrapped portion is the other color. The desired effect is the have the both parts of the wrapped item be the same color since its the same row.

How do i do this?

This message has been edited. Last edited by: SAI_Ryan,


WebFOCUS 8
Windows, All Outputs
 
Posts: 49 | Location: United States | Registered: April 21, 2015Report This Post
Virtuoso
posted Hide Post
What release of WebFOCUS are you running?

I'm running 8.201 and when I run this code, I get the expected results.

TABLE FILE CAR
SUM 
     RETAIL_COST
     SALES
BY  COUNTRY
BY  CAR
BY  MODEL
BY  BODYTYPE
ON TABLE SET EMPTYREPORT ON
ON TABLE SET HTMLENCODE ON
ON TABLE SET AUTOFIT OFF
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET CACHELINES 100
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
$
TYPE=DATA,
     BACKCOLOR=( 'WHITE' RGB(231 231 231) ),
$
TYPE=REPORT,
     COLUMN=N1,
     WRAP=0.527778,
$
TYPE=REPORT,
     COLUMN=N2,
     WRAP=0.638889,
$
ENDSTYLE
END

This message has been edited. Last edited by: BabakNYC,


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Silver Member
posted Hide Post
8.2M


WebFOCUS 8
Windows, All Outputs
 
Posts: 49 | Location: United States | Registered: April 21, 2015Report This Post
Silver Member
posted Hide Post
And when I run that code it works as intended. I'll have to compare some table settings.


WebFOCUS 8
Windows, All Outputs
 
Posts: 49 | Location: United States | Registered: April 21, 2015Report This Post
Silver Member
posted Hide Post
I am at a loss for why this is working like this.


WebFOCUS 8
Windows, All Outputs
 
Posts: 49 | Location: United States | Registered: April 21, 2015Report This Post
Virtuoso
posted Hide Post
Are you using a Stylesheet? Maybe there's something in that file that's changing the behavior. Try the code without any sty and see if your problem is in the fex or the sty.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Silver Member
posted Hide Post
Only styling is the report itself. When I commented out all styling except for wrapping and back color it works fine. As I went through weird things like adding a bottom border to the title or to a sub footer caused it to break. Seems like a bug I'm putting in a case to ibi.


WebFOCUS 8
Windows, All Outputs
 
Posts: 49 | Location: United States | Registered: April 21, 2015Report This Post
Silver Member
posted Hide Post
I just wanted to provide some closure on this item.

Tech support indicated this is a known issue (from 2012!) where borders breaks the alternate line color wrapping. They linked me to the "old" way of alternating colors which worked fine.

https://techsupport.informatio...om/sps/52802006.html


WebFOCUS 8
Windows, All Outputs
 
Posts: 49 | Location: United States | Registered: April 21, 2015Report 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     [CLOSED] Alternating Line Color and Wrapping in PDF

Copyright © 1996-2020 Information Builders