Focal Point
Display empty fields

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

July 25, 2007, 08:50 AM
Mark1
Display empty fields
Hello all,
I have a fex with all of my joins at the top. Two of the fields in the output are related, meaning that one is called "measurement label" and one is called "value". Obviously the "value" field is the value for each measurement.

My problem is that the output only displays records where there is a valid value in the value field no matter what I do. The following are all of the SET parameters I have on the fex. Am I missing something?

SET ASNAMES=ON
SET ALL = PASS

ON TABLE SET PAGE-NUM ON
ON TABLE SET BYDISPLAY OFF
ON TABLE NOTOTAL
ON TABLE SET ONLINE-FMT PDF
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='LEGAL',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.100000,
BOTTOMMARGIN=0.500000,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
$
ENDSTYLE
END


Windows version 768
July 25, 2007, 09:24 AM
FrankDutch
Mark

What is the database type.
Maybe post the masters.
And will you post the join statement and a bit more of the script that comes before the "ON TABLE..."




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

July 25, 2007, 10:38 AM
gregson06
If it's a JOIN that returns less rows than the smaller of the two tables then I always suspect WebFOCUS's (prior to 7) inability to do outer joins. Also, it always helps to be able to replicate the desired procedure in an external medium such as an SQL app that you can benchmark the FOCUS script against, otherwise you'll be going off of theory alone (e.g. do you get the same number of rows in both mediums.)

This message has been edited. Last edited by: gregson06,
July 25, 2007, 12:03 PM
Darin Lee
One other thing you may try is customizing your sort order using ROWS OVER. From the doc manual:
BY sortfield ROWS value1 OVER value2 [... OVER valuen]

Any sort field value that you do not specify in the BY ROWS OVER phrase is not included in the sorting sequence, and does not appear in the report.

Sort field values that contain embedded blank spaces should be enclosed in single quotation marks.

Any sort field value that you do specify in the BY ROWS OVER phrase is included in the report, whether or not there is data.

The name of the sort field is not included in the report.

Each report request can contain only one BY ROWS OVER phrase.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat