Focal Point
blanc line in subfoot
February 28, 2007, 10:26 AM
FrankDutchblanc line in subfoot
To make a report better readable I would like to add a blanc line under the subtotal ONLY when there is a subtotal.
I tried something like
ON CLTNR_REF SUBTOTAL MULTILINES AS 'subtotaal'
ON CLTNR_REF SUBFOOT
" "
WHEN &LINES GT 1;
But this won't work....
Suggestions?
|
Frank |
| prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7 |
February 28, 2007, 10:41 AM
Danny-SRLHello Frank,
MULTILINES works with most ON operations.
Try the following:
ON CLTNR_REF SUBTOTAL MULTILINES AS 'subtotal'
ON CLTNR_REF SUBFOOT MULTILINES
" "
Regards,
Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
February 28, 2007, 10:41 AM
Francis Mariani{CODE]TABLE FILE CAR
COUNT
MODEL NOPRINT
BY COUNTRY
SUM
SALES
BY COUNTRY
BY MODEL
ON COUNTRY SUBTOTAL MULTILINES
ON COUNTRY SUBFOOT
" "
WHEN C1 GT 1
END[/CODE]In my example, see FRANCE - no blank line. But, in my opinion, this doesn't make the report easier to read...
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
February 28, 2007, 10:43 AM
Francis MarianiDaniel, that's a new one for me! Thanks!
TABLE FILE CAR
SUM
SALES
BY COUNTRY
BY MODEL
ON COUNTRY SUBTOTAL MULTILINES
ON COUNTRY SUBFOOT MULTILINES
" "
END
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
February 28, 2007, 10:51 AM
FrankDutchThanks Danny
that is great....
thanks Francis....you are right, it remains unreadable and makes it in fact even more confusing....
I have got questions from the end users and thought this would help...It does not.
|
Frank |
| prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7 |
February 28, 2007, 11:01 AM
FrankDutchbut the MULTILINES does not work a subhead...
thanks anyway.
|
Frank |
| prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7 |
February 28, 2007, 11:05 AM
Francis MarianiLook for "Creating a Sort Heading or Footing" in the documentation. No MULTILINES for SUBHEAD - probably because FOCUS doesn't know how many lines yet when creating the SUBHEAD.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
February 28, 2007, 02:03 PM
Danny-SRLFrank and Francis,
Try this:
TABLE FILE CAR
SUM SALES
BY COUNTRY
BY CAR
ON COUNTRY SUBTOTAL MULTILINES
ON COUNTRY SUBFOOT MULTILINES
" "
END
See what happens after FRANCE
Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
February 28, 2007, 02:18 PM
PrarieSo if there are no Sales...it does nothing..interesting.
| In Focus since 1993. WebFOCUS 7.7.03 Win 2003 |
February 28, 2007, 02:27 PM
Tony APrarie,
I think you will find that the reason is no multiline break occurs for FRANCE, not the fact there are no sales.
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 | |
February 28, 2007, 02:33 PM
Alan BCorrect Tony.
Just add in RCOST and DCOST and the results will be the same.
Alan.
WF 7.705/8.007
February 28, 2007, 02:42 PM
Prarieoh...I see. Well that is not useful.
| In Focus since 1993. WebFOCUS 7.7.03 Win 2003 |