Focal Point
[SOLVED] foot and subfoot

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

March 11, 2013, 06:02 PM
dz
[SOLVED] foot and subfoot
I'm using "ON field SUBFOOT", "ON TABLE SUBFOOT" AND "FOOTING" in a focexec. Somehow the "ON TABLE SUBFOOT" displayed at the end of the report after the "FOOTING".

What can affect this order? I use the same in another program and all is fine.

This message has been edited. Last edited by: Kerry,
March 11, 2013, 06:18 PM
Doug
As it should... "ON TABLE SUBFOOT" means "ON TABLE" (After the TABLE FILE reuest has processed the results) and FOOTING is what will be done there (at the end of the report. "FOOTING" is a page footing...

What order do you want?
March 11, 2013, 06:21 PM
dz
The order should be:

1. ON Field SUBFOOT
2. ON TABBLE SUBFOOT
3. PAGE FOOTING (prints on every page)

but the order is:

1. ON Field SUBFOOT
2. PAGE FOOTING (prints on every page)
2. ON TABBLE SUBFOOT
March 11, 2013, 06:24 PM
Doug
From within Dev Studio, press F1, select "Search" and enter "creating headings and footings", and press enter. See if that lines up with your expectations.
March 11, 2013, 06:29 PM
Waz
Try SET PRINTPLUS = ON


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

March 11, 2013, 06:30 PM
Doug
Good point. PRINTPLUS is good.
March 12, 2013, 08:26 AM
MAdams1
Go into the source code and type BOTTOM after FOOTING in the style. So you would end up with FOOTING BOTTOM This will shoot your page footing to the bottom of the page. I use this for page numbers.


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
March 12, 2013, 08:28 AM
Doug
Another good point. BOTTOM is good. I forgot that in this post.
March 12, 2013, 10:09 AM
dz
I tried using "FOOTING BOTTOM".

The result was the "ON TABLE TOTAL" was on a separate page after the footing.
March 12, 2013, 10:19 AM
dz
Waz was correct. "SET PRINTPLUS = ON" did it.

Thank you.
March 12, 2013, 10:23 AM
MAdams1
You also need to have PRINTPLUS = ON

Try this car file example;

 
SET PRINTPLUS = ON
TABLE FILE CAR
BY  LOWEST CAR.COMP.CAR
BY  LOWEST CAR.CARREC.MODEL
     
ON CAR.COMP.CAR SUBFOOT
"this is the on by field subfoot"
FOOTING BOTTOM
"<TABPAGENO of <TABLASTPAGE   this is the page footing"
ON TABLE SUBFOOT
"this is the report footing"
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,
$
ENDSTYLE
END

 



WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
March 12, 2013, 10:30 AM
dz
Thank you MAdams1 it works perfect now.
March 12, 2013, 04:29 PM
Waz
Smiler


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!