Focal Point
[Closed] Fields in FOOTING

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

June 13, 2012, 05:28 PM
klcc
[Closed] Fields in FOOTING
Would it be possible to have a table field with multiple rows of information display all of this information in a FOOTING?

Ex.
TABLE FILE CAR
PRINT
'CAR.MAKE'
FOOTING
"Models for ON TABLE PCHOLD FORMAT PDF
END

If I run the above code it will only return the first car model in the FOOTING but I would like it to return all models for the make.

WF 7.6.9

This message has been edited. Last edited by: Kathleen Butler,


WebFOCUS 7.6
Windows, All Outputs
June 13, 2012, 05:32 PM
klcc
Sorry my original post example was incorrect.

Ex.
TABLE FILE CAR
PRINT
'CAR.MAKE'
FOOTING
"Models for CAR.MAKE are CAR.MODEL"
END


WebFOCUS 7.6
Windows, All Outputs
June 13, 2012, 05:51 PM
Waz
HEADINGS and FOOTINGS only show 1 record, as they have no relationship to the data, only the report as a whole.

You could try to build the text for the footing in a TABLE FILE / HOLD prior to this TABLE FILE and -INCLUDE it.

Effectively have FOCUS build some code for you.


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!

June 13, 2012, 07:49 PM
njsden
You may also try using a Compound Report where all of the rows you want "at the bottom" will be displayed in the second component right after the first one.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
June 14, 2012, 09:11 AM
klcc
Thanks, Waz & njsden. I'll give the hold files a shot and see how that goes.


WebFOCUS 7.6
Windows, All Outputs
June 15, 2012, 04:09 AM
Danny-SRL
klcc,

You have in fact asked for 2 things:
1. MODELs in the FOOTING
2. Different MODELs for each CAR.

If you use the compound report way, then you will need 2 reports for each value of CAR, the first showing the CAR data, the second the MODEL data, all that within a loop for the values of CAR.

If you go for the FOOTING way, then I suggest you create a number of DEFINE fields for the values of MODEL. You will have to find the maximum number of MODELs per CAR and load each DEFINE field with the appropriate value of MODEL depending upon the value of CAR. Then insert these DEFINE fields in the FOOTING.

Good luck!


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

June 27, 2012, 06:21 PM
Don Garland
I thought this sounded familiar

http://forums.informationbuild...617091126#7617091126


WebFOCUS Administrator @ Worldpay FIS
PROD/DEV/TEST: 8204, SANDBOX: 8206 soon - BIP, Reportcaster, Resource Manager, EUM, HyperStage soon, DB: HIVE,Oracle,MSSQL