Focal Point
Forcing Report Assistant to generate columns where there is no data present

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

January 14, 2008, 12:22 PM
stuey
Forcing Report Assistant to generate columns where there is no data present
I have a 'My report' that has been created out of a Reporting Object that the user wants to amend by going into Reporting Assist and change , then Run - Within the code there is a COLUMNS statement to force columns where there is no data (for example, across Month, but some months are not populated, but the user still wants to see a zero for that month). This runs perfectly well when just selecting the 'run' option however when going into RA it decides to drop the COLUMNS syntax and runs the resulting program without, thereby resulting in columns only being displayed where there is some data.

In TABLE FILE CAR parlance...
TABLE FILE CAR
SUM SALES
BY COUNTRY
ACROSS SEATS
COLUMNS 2 AND 4 AND 5 AND 7
IF COUNTRY EQ 'ENGLAND'
END
Will force columns for 2,4,5 and 7 even though there is no data for 7 seats.
However when running with Report Assistant, it decides to ignore the COLUMNS statement and provide results only for seats 2,4 and 5 (ie where it has data) .

Anybody got any ideas ?


WF 8005 MRE BID RCaster DevStu PMF 5.3.1 Hotfix 5
XP Oracle.
January 14, 2008, 01:03 PM
GinnyJakes
Stuey,

The RA is not at robust as the Report Painter. If you added the COLUMNS with the editor, it will wipe them out.

Try finding out what the user wants to change and possibly make that an amper variable that he/she can adjust at run time.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google