Focal Point
error message when creating pivot table

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

April 05, 2007, 11:00 AM
Davidg
error message when creating pivot table
I am trying for first time to create a pivot table using developer studio and am getting an error message "invalid set command". I have not specified any set command. Any ideas?
April 05, 2007, 11:26 AM
FrankDutch
David

show us the complete FEX and we might be able to help

put the code in between 'CODE /CODE' marks
the code marks need brackets around them
 this is code 


Frank




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

April 05, 2007, 02:18 PM
Davidg
Below is the code...

JOIN
LOCNINVP.LOCNINVP.PARTNBR IN LOCNINVP TO MULTIPLE PARTMSTP.PARTMSTP.PARTNBR
IN PARTMSTP AS J0
END
TABLE FILE LOCNINVP
PRINT
ONHAND
BY FXLOCATR
HEADING
"Locator Pivot Table"
"Sum of parts by Locator"
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K PIVOT
CACHEFIELDS PARTNBR
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
April 12, 2007, 01:54 PM
Kerry
Hi David,

Has this issue been resolved?

I am wondering, are you using Oracle table in this issue? I also ran some search on online documents and came across the following topic which may be of interest:

Receiving a Invalid control command when SETTING DEFAULT

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
April 12, 2007, 02:14 PM
Tom Flynn
quote:
JOIN
LOCNINVP.LOCNINVP.PARTNBR IN LOCNINVP TO MULTIPLE PARTMSTP.PARTMSTP.PARTNBR
IN PARTMSTP AS J0
END
TABLE FILE LOCNINVP
PRINT
ONHAND
BY FXLOCATR
HEADING
"Locator Pivot Table"
"Sum of parts by Locator"
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K PIVOT
CACHEFIELDS PARTNBR
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$

ENDSTYLE
END
-RUN



Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
June 22, 2007, 02:36 PM
Nick
David,
This is because we have a global setting for SET EMPTYREPORT = ON. In your fex you need to add SET EMPTYREPORT = OFF and the pivot table will display.


Dev- WF 7.68 on Windows Server 2003: DB2, SQL Server 2K, SQL Server 2005, SQL Server Anaysis Services 2005.
Test- WF 7.67 on Windows Server 2003: DB2, SQL Server 2K, SQL Server 2005, SQL Server Anaysis Services 2005.
Prod - Dev- WF 7.65 on Windows Server 2003: DB2, SQL Server 2K, SQL Server 2005, SQL Server Anaysis Services 2005