Focal Point
Indenting sub total Text

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

August 09, 2005, 07:51 AM
Nigel L.
Indenting sub total Text
I have a report that has 8 columns. The first 2 columns require sub totals. The report is only used in PDF and Excel.

Is it possible to indent the text for the sub total of column 2 to be immediately under column 2. At present, the text always seems to start from column 1.

Regards
Nigel

FYI - we are using Webfocus 5.3.3
August 09, 2005, 08:31 PM
reFOCUSing
To be able to indent the SUBTOTAL text you will need to use SUBFOOT. When outputting to PDF you can use POSITION to move the totals and text under the correct columns. For Excel you can use COLSPAN to place the values in the correct cell in the worksheet.
August 10, 2005, 10:12 AM
Nigel L.
I am very new to Webfocus, so am probably asking a stupid question, but how do I use SUBFOOT to keep both the text and totals on the same line.

Nigel
August 10, 2005, 03:35 PM
reFOCUSing
Here is an example of this in the output format of PDF:
-* File test0098.fex<br />TABLE FILE CAR<br />SUM<br />RETAIL_COST<br />DEALER_COST<br />BY COUNTRY<br />BY CAR<br />BY BODYTYPE<br />ON TABLE PCHOLD FORMAT PDF<br />ON CAR SUBFOOT<br />" <+0>TOTAL<+0> <+0><ST.RETAIL_COST<+0><ST.DEALER_COST</1"<br />ON COUNTRY SUBFOOT<br />"TOTAL<+0> <+0> <+0><ST.RETAIL_COST<+0><ST.DEALER_COST</1"<br />ON TABLE SET STYLE *<br />UNITS=IN,PAGESIZE='Letter',LEFTMARGIN=0.25,RIGHTMARGIN=0.25,TOPMARGIN=0.25,BOTTOMMARGIN=0.00,SQUEEZE=ON,ORIENTATION=LANDSCAPE,$<br /><br />TYPE=REPORT,FONT='ARIAL',SIZE=8,COLOR='BLACK',BACKCOLOR='NONE',STYLE=NORMAL,RIGHTGAP=0.00,LEFTGAP=0.00,$<br />TYPE=REPORT,COLUMN=P1,SQUEEZE=1.50,$<br />TYPE=REPORT,COLUMN=P2,SQUEEZE=1.50,$<br />TYPE=REPORT,COLUMN=P3,SQUEEZE=1.50,$<br />TYPE=REPORT,COLUMN=P4,SQUEEZE=1.50,$<br />TYPE=REPORT,COLUMN=P5,SQUEEZE=1.50,$<br /><br />TYPE=SUBFOOT,BY=CAR,ITEM=1 ,WIDTH=1.50,JUSTIFY=LEFT,$<br />TYPE=SUBFOOT,BY=CAR,ITEM=2 ,WIDTH=1.50,JUSTIFY=LEFT,$<br />TYPE=SUBFOOT,BY=CAR,ITEM=3 ,WIDTH=1.50,JUSTIFY=LEFT,$<br />TYPE=SUBFOOT,BY=CAR,ITEM=4 ,WIDTH=1.50,JUSTIFY=RIGHT,$<br />TYPE=SUBFOOT,BY=CAR,ITEM=5 ,WIDTH=1.50,JUSTIFY=RIGHT,$<br /><br />TYPE=SUBFOOT,BY=COUNTRY,ITEM=1 ,WIDTH=1.50,JUSTIFY=LEFT,$<br />TYPE=SUBFOOT,BY=COUNTRY,ITEM=2 ,WIDTH=1.50,JUSTIFY=LEFT,$<br />TYPE=SUBFOOT,BY=COUNTRY,ITEM=3 ,WIDTH=1.50,JUSTIFY=LEFT,$<br />TYPE=SUBFOOT,BY=COUNTRY,ITEM=4 ,WIDTH=1.50,JUSTIFY=RIGHT,$<br />TYPE=SUBFOOT,BY=COUNTRY,ITEM=5 ,WIDTH=1.50,JUSTIFY=RIGHT,$<br />ENDSTYLE<br />END<br />-RUN

August 11, 2005, 07:21 AM
Nigel L.
Thank you for that. Works fine, however, when I added borders around each column, the SUBFOOT does not have border lines in between each column of data.

Is there a way to add these in, as our reports require border lines to be shown.

Also, when I do have a report that has borders, when the report is run as PDF it shows them, but when run as EXL2K, the borders are missing. Is this normal, or am I missing something.

Is there also a way of wrapping a large text field on either a SUBTOTAL or SUBFOOT.

Regards
Nigel