Focal Point
[SOLVED] Alpha Output Format

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

April 23, 2019, 11:53 AM
MAdams1
[SOLVED] Alpha Output Format
Has anyone run into this before?

I have a simple table file request with 24 by fields, no print or sum just by fields and 2 where clauses. This is output as a SAVE file using FORMAT ALPHA. In the output the first by field is being repeated at the end of the file. For the life of me I can not figure out why it is doing this. As a work around I had to also put the last field I want in the output as the first by field and make them BOTH NOPRINT and then I will get just the last one printed like I want. Now tell me how that is working, when they are both NOPRINT?!

Thanks for any insight.

This message has been edited. Last edited by: FP Mod Chuck,


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
April 23, 2019, 12:18 PM
jfr99
Try setting HOLDLIST to PRINTONLY like below ...

TABLE FILE CAR
BY COUNTRY
BY CAR
BY MODEL
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE SAVE
END



WebFocus 8.201M, Windows, App Studio
April 23, 2019, 01:48 PM
BabakNYC
I think when you have no PRINT, SUM, WRITE or COUNT in your request, WebFOCUS automatically adds a PRINT firstbyfield NOPRINT to your request. The effect of this is the repetition of the first BY field in your save file.

That's why, like jfr99 says, if you add SET HOLDLIST PRINTONLY to your request, the HOLD or SAVE files will only keep the BY fields.


WebFOCUS 8206, Unix, Windows
April 23, 2019, 02:14 PM
MAdams1
Thank you jfr99, that worked!


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
April 24, 2019, 08:14 AM
MAdams1
Thank you also BabakNYC for the explanation.


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