All,
Having a problem with the below code. It’s producing the expected output in PDF but not in excel. In excel the graph is not show up. Why?
-* File SartSummaryProp.fex
SQL SQLMSS EX IRF_DETAIL1.DBO.BrokerSummary_Prop 'aon';
TABLE FILE SQLOUT
PRINT *
ON TABLE HOLD AS SMART_SUMMARY_PROP_HOLD FORMAT ALPHA
END
-*FILEDEF PP DISK C:\temp\PP.gif
-*FILEDEF PP DISK C:\IBI\WEBFOCUS\IBI_HTML\PP.GIF
SET GRAPHSERVURL=http://STSRV1/ibi_apps/IBIGraphServlet
GRAPH FILE SMART_SUMMARY_PROP_HOLD
-* CurrM2Count CurrM1Premium CurrM1Count CurrentPremium CurrentCount
SUM SMART_SU.CurrentPremium AS '2006' SMART_SU.CurrM1Premium AS '2005'
SMART_SU.CurrM2Premium AS '2004'
ACROSS SMART_SU.BrokerCity
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH HOLD AS PP FORMAT GIF
setGraphType(55);
END
-*DEFINE FILE SMART_SUMMARY_PROP_HOLD
-*IMG/A60 = '
';
-*ENDIMG/A6 = '';
-*END
SET COMPOUND=CLOSE
TABLE FILE SMART_SUMMARY_PROP_HOLD
SUM CurrentPremium AS '2006' CurrM1Premium AS '2005' CurrM2Premium AS '2004'
BY BrokerCity
ON TABLE SET STYLE *
TYPE=DATA, BACKCOLOR=( BY=B2 'SILVER' 'WHITE' ), $
TYPE=REPORT, IMAGE=PP.GIF, POSITION=(4 6), SIZE=(3 3.5), $
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K
END