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] Increas the height of the row and backcolor issues

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Increas the height of the row and backcolor issues
 Login/Join
 
Member
posted
I have attached the screenshot of the report here

Notification history report

The report is about the notifications sent to the employees.

I have two concerns with the report.

1. In the report, the employee named Johnnisha Willis has a message which is too long and cannot be accommodated in a single row.
Is there any possibility that the height of the row can be increased ?

2. The background color for the report is set as alternate colors for the consecutive rows in the style sheet. The report needs to have the background color in such a way the alternate colors should change when the employee name changes.

I have an idea of using LAST but unsure of how to use it in the code. For instance in the report The back color for JOHNNISHA WILLIS is both white and grey according to the style sheet. I want the color not to change unless the employee name changes

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


WEBFOCUS, WINDOWS, REPORTS
 
Posts: 14 | Registered: May 07, 2018Report This Post
Platinum Member
posted Hide Post
Nithita - You can achieve your requirements by using conditional styling.

What is the output format for your reports? Need some more inputs for the point 2. Is that your report is static(meaning your report is having fixed number of rows?)


Try to play around.

Hope this is helpful.


DEFINE FILE CAR
MSG/A500=';DSOJ SOJFSOFJOFJOI IJFSJF;OFJSPFSFPOJFJFOFSFSFSFFLJFLKJ OIJF;SFJ;LJFOIU LSJ;SLJA;OIP';
LEN/I5=ARGLEN(500, MSG, 'I5');
END
TABLE FILE CAR
PRINT
-*COMPUTE CNT/I2=IF CAR NE LAST CAR THEN 0 ELSE LAST CNT + 1;
CAR
MSG
LEN
-*ON TABLE PCHOLD FORMAT PDF
ON TABLE SET PAGE OFF
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
TYPE=REPORT,WRAP=2,WIDTH=2,SIZE=7,$
TYPE=REPORT,COLUMN=P2,COLOR=RED,SIZE=10,WHEN=LEN GE 70,$
ENDSTYLE
END
-RUN
 
Posts: 109 | Registered: February 02, 2016Report This Post
Expert
posted Hide Post
What format is the report ?

Oh, and what version of WebFOCUS ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Member
posted Hide Post
The output format is HTML/CSS
The version is 8201


WEBFOCUS, WINDOWS, REPORTS
 
Posts: 14 | Registered: May 07, 2018Report This Post
Platinum Member
posted Hide Post
I have used this successfully in 8105M:

TYPE=REPORT,
TOPGAP=0.025,
BOTTOMGAP=0.0000,
$


You would, of course, have to play with the values to get what you need.


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Expert
posted Hide Post
Very basic -

You mention using code so here it is in code. However, if you need it via InfoAssist then add a compute in the normal manner and use conditional styling.

TABLE FILE CAR
SUM DCOST
    RCOST
    COMPUTE CNTR/I1 = IF COUNTRY EQ LAST COUNTRY THEN LAST CNTR ELSE ABS(LAST CNTR - 1); NOPRINT
 BY COUNTRY
 BY CAR
 BY MODEL
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
TYPE=REPORT, COLUMN=MODEL, WIDTH=1, WRAP=1, $
TYPE=DATA, BACKCOLOR=(silver), WHEN=CNTR EQ 1, $
TYPE=DATA, BACKCOLOR=(white), WHEN=CNTR EQ 0, $
ENDSTYLE
END


T



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
  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] Increas the height of the row and backcolor issues

Copyright © 1996-2020 Information Builders