Focal Point
Blank line before RECOMPUTE in Excel

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8377028706

August 02, 2011, 01:00 PM
SRC
Blank line before RECOMPUTE in Excel
I have a customer who wants a blank line before the RECOMPUTE/SUBTOTAL in Excel. I thought it would be rather easy but I can't seem to figure out how to do it.

Any ideas would be greatly appreciated.


Dev Studio /7.6.11/7.7.02M
MVS/USS
AIX/SOLARIS
Windows WF Client 7.6.8/7.6.11
August 02, 2011, 01:42 PM
ERINP
Try a search on SKIP-LINE to see if that resolves the issue. Often times a "" will add a blank line but not sure if it works for Subtotal or not. It works for Headers...

ERINP
This may be a Possible Answer

This message has been edited. Last edited by: ERINP,


WebFOCUS 7.6.9

Reporting client Windows 2003 Service pack 2 using IIS and TomCat 5.5
Reporting Server OS/400 V5R4M0
Outputs: HTML, Excel, PDF, CSV, and Flat Files
August 02, 2011, 04:20 PM
SRC
I apologize for not mentioning what I have tried so far. I tried ON sortfield SKIP-LINE, ON sortfield SUBFOOT, but the SUBTOTAL always comes first and there doesn't seem to be a way to get a blank line before the SUBTOTAL.

Steve


Dev Studio /7.6.11/7.7.02M
MVS/USS
AIX/SOLARIS
Windows WF Client 7.6.8/7.6.11
August 03, 2011, 10:12 AM
ERINP
Steve,
What is the output? HTML, Excel, PDF...?? I think you can do this using the ON sortfield SUBFOOT. If you let me know the output I will try to create a car file example for you. I have used this for TOT.sortfield so I would think I can get it to work for a SUB-TOTAL.

ERINP


WebFOCUS 7.6.9

Reporting client Windows 2003 Service pack 2 using IIS and TomCat 5.5
Reporting Server OS/400 V5R4M0
Outputs: HTML, Excel, PDF, CSV, and Flat Files
August 04, 2011, 08:31 AM
SRC
The output is EXL2K


Dev Studio /7.6.11/7.7.02M
MVS/USS
AIX/SOLARIS
Windows WF Client 7.6.8/7.6.11
August 04, 2011, 08:42 AM
ERINP
Steve,
here is a CAR example that seems to work. The fact that I have GRID=OFF may be the reason this works...
  TABLE FILE CAR
SUM
     'CAR.BODY.BODYTYPE'
     'CAR.SPECS.MPG'
     'CAR.BODY.SEATS'
     'CAR.BODY.SALES/P11.2C'
     COMPUTE TOT_SALES/P11.2CM = TOT.SALES; NOPRINT
     COMPUTE TOT_SALE2/P11.2CM = TOT.SALES; NOPRINT
     COMPUTE TOT_SALE3/P11.2CM = TOT.SALES; NOPRINT
BY 'CAR.ORIGIN.COUNTRY'
BY 'CAR.CARREC.MODEL'
-*WHERE COUNTRY = 'ENGLAND';
ON CAR.ORIGIN.COUNTRY SUBFOOT
""
" <+0> <+0> <+0>SUBFOOT1 LINE2 COUNTRY <+0> <ST.CAR.BODY.SALES"
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='TIMES NEW ROMAN',
     SIZE=10,
$
TYPE=SUBFOOT,
     STYLE=BOLD,
     JUSTIFY=RIGHT,
     HEADALIGN=BODY,
  
$
ENDSTYLE
END



WebFOCUS 7.6.9

Reporting client Windows 2003 Service pack 2 using IIS and TomCat 5.5
Reporting Server OS/400 V5R4M0
Outputs: HTML, Excel, PDF, CSV, and Flat Files