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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Set up the space between heading and data in a FML report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Set up the space between heading and data in a FML report
 Login/Join
 
Member
posted
Hi all,

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,


WF 7.7.03,Win XP Pro.
HTML, PDF, EXCEL, AHTML, FLEX, APDF.
SQL Server, MySQL, DB2, FOCUS.
 
Posts: 19 | Registered: February 04, 2011Report This Post
Virtuoso
posted Hide Post
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, 2007Report This Post
Member
posted Hide Post
Thank's for your suggestion Dan, but I have mentioned I would do this without this kind of (styling) solution. But, seem's there's no other way....

Thank's.


WF 7.7.03,Win XP Pro.
HTML, PDF, EXCEL, AHTML, FLEX, APDF.
SQL Server, MySQL, DB2, FOCUS.
 
Posts: 19 | Registered: February 04, 2011Report This Post
Virtuoso
posted Hide Post
You can always open a case with IBI Tech Support to see if they have a solution.


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report 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] Set up the space between heading and data in a FML report

Copyright © 1996-2020 Information Builders