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 would to supress the blank line that appear between the heading and data in a FML report. For example, I have this report:
DEFINE FILE CAR
CAMPO/I1=DECODE COUNTRY('ENGLAND' 1 'ITALY' 2 'JAPAN' 3 'W GERMANY' 4);
END
TABLE FILE CAR
HEADING
"SOME DUMMY HEADING"
SUM SALES
FOR CAMPO
1 AS 'TOTAL INGLATERRA' LABEL R1 OVER
2 AS 'TOTAL ITALIA' LABEL R2 OVER
4 AS 'TOTAL ALEMANIA' LABEL R3 OVER
3 AS 'TOTAL JAPÓN' LABEL R4 OVER
RECAP TOTEUR/I9=R1+R2+R3; AS 'TOTAL EUROPA'
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE=endeflt,
$
TYPE=REPORT,BORDER=LIGHT,BORDER-STYLE=SOLID,BORDER-COLOR=RGB(66 70 73),$
TYPE=DATA,COLUMN=SALES,STYLE=BOLD,$
ENDSTYLE
END
As I've mentioned before, this makes that report displays a blank line between the heading and data, and I would like that the report don't show this blank line. I have done it with this:
DEFINE FILE CAR
CAMPO/I1=DECODE COUNTRY('ENGLAND' 1 'ITALY' 2 'JAPAN' 3 'W GERMANY' 4);
END
TABLE FILE CAR
SUM SALES AS ''
FOR CAMPO
"DUMMY HEADING" LABEL C1 OVER
"SALES" LABEL C2 OVER
1 AS 'TOTAL INGLATERRA' LABEL R1 OVER
2 AS 'TOTAL ITALIA' LABEL R2 OVER
4 AS 'TOTAL ALEMANIA' LABEL R3 OVER
3 AS 'TOTAL JAPÓN' LABEL R4 OVER
RECAP TOTEUR/I9=R1+R2+R3; AS 'TOTAL EUROPA'
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE=endeflt,
$
TYPE=REPORT,BORDER=LIGHT,BORDER-STYLE=SOLID,BORDER-COLOR=RGB(66 70 73),$
TYPE=REPORT,LABEL=C2,JUSTIFY=RIGHT,STYLE=BOLD,$
TYPE=DATA,COLUMN=SALES,STYLE=BOLD,$
ENDSTYLE
END
But I don't like how it looks, and I think perhaps there's other way to do this, without this extra code. I haven't found it in the WF manual and neither in this forum.
Any help is welcome, thank's.This message has been edited. Last edited by: ferran,
With a little bit of additional styling, your second set of code can be made to display as you wish:
DEFINE FILE CAR
CAMPO/I1=DECODE COUNTRY('ENGLAND' 1 'ITALY' 2 'JAPAN' 3 'W GERMANY' 4);
END
-*
TABLE FILE CAR
SUM SALES AS ''
FOR CAMPO
"SOME DUMMY HEADING" LABEL C1 OVER
"SALES" LABEL C2 OVER
1 AS 'TOTAL INGLATERRA' LABEL R1 OVER
2 AS 'TOTAL ITALIA' LABEL R2 OVER
4 AS 'TOTAL ALEMANIA' LABEL R3 OVER
3 AS 'TOTAL JAPÓN' LABEL R4 OVER
RECAP TOTEUR/I9=R1+R2+R3; AS 'TOTAL EUROPA'
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE=endeflt,$
TYPE=REPORT,BORDER=LIGHT,BORDER-STYLE=SOLID,BORDER-COLOR=RGB(66 70 73),$
TYPE=REPORT,LABEL=C1,JUSTIFY=CENTER,STYLE=BOLD,SIZE=12,$
TYPE=REPORT,LABEL=C2,JUSTIFY=RIGHT,STYLE=BOLD,COLOR=WHITE,BACKCOLOR=BLACK,$
TYPE=DATA,COLUMN=SALES,STYLE=BOLD,$
ENDSTYLE
END
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007