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.
i tried this by using css code in a define field and call the field in the report heading.Iam getting the left and right gaps for column title and the report title.can someone please help.
DEFINE FILE CAR
-*-*SH1/A10='HEADING1';
-*-*SH2/A10='HEADING2';
DUMMY/A1=' ';
TITLE/A300='<TABLE><TR><TD STYLE=''BORDER:1PX SOLID BLACK;''>SEAT</TD><TD STYLE=''BORDER:1PX SOLID BLACK;''>SALES</TD><TD STYLE=''BORDER:1PX SOLID BLACK;''>CAR</TD><TD STYLE=''BORDER:1PX SOLID BLACK;''>SEAT</TD><TD STYLE=''BORDER:1PX SOLID BLACK;''>SALES</TD><TD STYLE=''BORDER:1PX SOLID BLACK;''>CAR</TD></TR></TABLE>';
END
TABLE FILE CAR
PRINT
SEATS AS ''
SALES AS ''
CAR AS ''
SEATS AS ''
SALES AS ''
CAR AS ''
BY DUMMY NOPRINT
ON DUMMY SUBHEAD
"<TITLE"
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
TYPE=REPORT,FONT='ARIAL',SIZE=8,COLOR='BLACK',BACKCOLOR='NONE',GRID=OFF,$
TYPE=TITLE,FONT='ARIAL',SIZE=8,BACKCOLOR=RGB(153 153 153),STYLE=BOLD,COLOR=BLACK,JUSTIFY=CENTER,$
TYPE=DATA,FONT='ARIAL',SIZE=8,BACKCOLOR=( 'WHITE' RGB(240 240 240) ),COLOR=BLACK,JUSTIFY=CENTER,BORDER=LIGHT,$
TYPE=DATA,COLUMN=P1,WIDTH=0.3,$
TYPE=DATA,COLUMN=P2,WIDTH=0.3,$
TYPE=DATA,COLUMN=P3,WIDTH=0.3,$
TYPE=DATA,COLUMN=P4,WIDTH=0.3,$
TYPE=DATA,COLUMN=P5,WIDTH=0.3,$
TYPE=DATA,COLUMN=P6,WIDTH=0.3,$
TYPE=TITLE,COLUMN=P1,WIDTH=0.3,$
TYPE=TITLE,COLUMN=P2,WIDTH=0.3,$
TYPE=TITLE,COLUMN=P3,WIDTH=0.3,$
TYPE=TITLE,COLUMN=P4,WIDTH=0.3,$
TYPE=TITLE,COLUMN=P5,WIDTH=0.3,$
TYPE=TITLE,COLUMN=P6,WIDTH=0.3,$
TYPE=SUBHEAD, HEADALIGN=INTERNAL,JUSTIFY=CENTER, BORDER=1,$
TYPE=SUBHEAD, ITEM=1, COLSPAN=3, JUSTIFY=CENTER,$
TYPE=SUBHEAD, ITEM=2, COLSPAN=3, JUSTIFY=CENTER,$
ENDSTYLE
END
The problem with the generated css is, that it uses x1..xn classnames. There is no way you know which fields get which classname. But if you have a fixed report you could use something like this (the empty row is not completely removed, but the height is much less) The only thing is that the fex has a hard-coded .x3 in it (afaik this can not be generated dynamically).
-Fred-
DEFINE FILE CAR
SH1/A10='HEADING1';
SH2/A10='HEADING2';
FFF/A100 WITH SEATS = '<style>.x3{line-height:0px;}</style>';
END
TABLE FILE CAR
PRINT
SEATS
SALES
SEATS
SALES
HEADING
"<SH1<+0><SH2"
ON TABLE SUBFOOT
"<FFF "
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
$
TYPE=TABFOOTING, BORDER=OFF,$
TYPE=REPORT,
FONT='ARIAL',
SIZE=8,
COLOR='BLACK',
BACKCOLOR='NONE',
GRID=OFF,
BORDER=LIGHT,
$
TYPE=TITLE,
FONT='ARIAL',
SIZE=8,
BACKCOLOR=RGB(153 153 153),
STYLE=BOLD,
COLOR=BLACK,
JUSTIFY=CENTER,
$
TYPE=DATA,
FONT='ARIAL',
SIZE=8,
BACKCOLOR=( 'WHITE' RGB(240 240 240) ),
COLOR=BLACK,
JUSTIFY=RIGHT,
$
TYPE=HEADING, HEADALIGN=BODY,$
TYPE=HEADING,
ITEM=1,
COLSPAN=2,
JUSTIFY=CENTER,
$
TYPE=HEADING,
ITEM=2,
COLSPAN=2,
JUSTIFY=CENTER,
$
ENDSTYLE
END