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] Rows with different topgap and bottongap

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Rows with different topgap and bottongap
 Login/Join
 
Member
posted
Hi, I'm building a report and I need that rows with a, for example, FIELD1 EQ '060', to be narrower than the others.

For all the rows equals:
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=6,
RIGHTGAP=0.03,
LEFTGAP=0.03,
TOPGAP=0.050,
BOTTOMGAP=0.050,
LEFTMARGIN=0.60,
METADATA='>GUIDE>show=1,snap=1,GRID>show=1,snap=1,sizex=4,sizey=4,RULER>show=1,

I've tried to use WHEN=FIELD1 EQ '060', before the $ but it doesn´t work:

TYPE=REPORT
TOPGAP=0.040,
BOTTOMGAP=0.040,
WHEN=FIELD1 EQ '060',
$
TYPE=REPORT
TOPGAP=0.050,
BOTTOMGAP=0.050,
WHEN=FIELD1 NE '060',
$

Could someone help me?

Thank you very much

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.6.1
Windows
HTML, Excel and PDF
 
Posts: 9 | Registered: May 05, 2009Report This Post
Gold member
posted Hide Post
Is this the solution?


TABLE FILE CAR
SUM
DEALER_COST
RETAIL_COST
BY COUNTRY
BY CAR
BY MODEL

ON TABLE SET PAGE-NUM OFF
ON TABLE SET BYDISPLAY ON
ON TABLE SET STYLE *

TYPE=REPORT,
COLOR=BLACK,
$
TYPE=TITLE,
COLOR=BLUE,STYLE=BOLD,
$
TYPE=DATA,
COLOR=RED,
WHEN=CAR EQ 'MASERATI',
$

ENDSTYLE
END


WebFOCUS 7.6, 7.7
Windows, All Output formats
 
Posts: 90 | Location: Stuttgart | Registered: October 20, 2010Report This Post
Member
posted Hide Post
I've tried it and it doesn´t change the gap. I've tried to change the color as you tell and it works but the gap not.

Thnak you for your help. I`ll go on looking for the way to do it.


WebFOCUS 7.6.1
Windows
HTML, Excel and PDF
 
Posts: 9 | Registered: May 05, 2009Report This Post
Virtuoso
posted Hide Post
Vic,

If you use TYPE=REPORT, then your GAP will affect both DATA and TITLE. Also, TOPGAP and BOTTOMGAP affect the whole line of data.
So, if you want specific lines of data to be affected use TYPE=DATA:
-* File vic01.fex
TABLE FILE CAR
SUM 
     SALES
BY  LOWEST COUNTRY
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,
$
TYPE=DATA, 
     TOPGAP=0.5,
     BOTTOMGAP=0.5,
     WHEN=COUNTRY EQ 'ENGLAND',
$
ENDSTYLE
END


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

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Virtuoso
posted Hide Post
Vic,
See:
-* File vic01.fex
TABLE FILE CAR
SUM 
     SALES
BY  LOWEST COUNTRY
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,
$
TYPE=DATA, 
     TOPGAP=0.3,
     BOTTOMGAP=0.1,
     WHEN=COUNTRY EQ 'ENGLAND' ,
$
TYPE=DATA, 
     TOPGAP=0.3,
     BOTTOMGAP=0.1,
     WHEN=COUNTRY EQ 'ITALY' ,
$
ENDSTYLE
END


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

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Member
posted Hide Post
Thank you for your answer.
What you say, works but in a simple report. The report I try to prepare use RIGHTGAP and LEFTGAP and I can`t use them in TYPE=DATA, in spite of it, I use SQUEEZE for the width of the columns, GRID=OFF, LEFTMARGIN=0.60 and these need to be used with TYPE=REPORT.

I've tried to do this and I get a report but the report doesn´t look like what I need:

TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=6,
RIGHTGAP=0.03,
LEFTGAP=0.03,
-* TOPGAP=0.050,
-* BOTTOMGAP=0.050,
LEFTMARGIN=0.60,
$
TYPE=DATA,
TOPGAP=0.020,
BOTTOMGAP=0.020,
WHEN=FIELD1 EQ '060',
$

TYPE=DATA,
TOPGAP=0.050,
BOTTOMGAP=0.050,
WHEN=FIELD1 NE '060',
$


WebFOCUS 7.6.1
Windows
HTML, Excel and PDF
 
Posts: 9 | Registered: May 05, 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     [CLOSED] Rows with different topgap and bottongap

Copyright © 1996-2020 Information Builders