Focal Point
Problem saving as COM

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

October 22, 2004, 02:14 PM
Lenny Ward
Problem saving as COM
I am running WebFocus 5.3 and 5.2.

My request looks like this:

SET NODATA = '';
-SET &CMD = 'FILEDEF PERFDATA DISK C:\IBSSHARE\DEVELOPMENT\IPCBOOKS\TEST.CSV';
&CMD
-RUN

TABLE FILE CAR
SUM SEATS
BY CAR
ACROSS MODEL
ON TABLE HOLD MISSING ON AS PERFDATA FORMAT COM
END

The output looks like this:
"ALFA ROMEO",0,4,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0
"AUDI",5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
"BMW",0,0,0,0,5,4,5,5,0,5,5,0,0,0,0,0,0,0
"DATSUN",0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0

I want it to look like this:
"ALFA ROMEO",,4,2,2,,,,,,,,,,,,,,
"AUDI",5,,,,,,,,,,,,,,,,,
"BMW",,,,,5,4,5,5,,5,5,,,,,,,
"DATSUN",,,,,,,,,,,,4,,,,,,

This file eventually gets opened by Excel but before that happens the file gets more rows appended to it from another process. The user wants blanks in the cells and not zero's.

Thankyou,

Lenny
October 22, 2004, 02:42 PM
Lenny Ward
I just found my answer.

There if a new set command:

SET NULL = ON

This fixed the problem.

Lenny