>- Did you use XFRX#LISTENER or XFRX#INIT?
I'm using
SET CLASSLIB TO _reportlistener.vcx additive
loxfrx= EVALUATE("xfrx('XFRX#LISTENER')")
nRetVal = loxfrx.SetParams(poGRXReportObject.output,m.tempdir,.t.,reportCodePage(),,,"PDF")
If nRetVal # 0
error 'something bad'
endif
REPORT FORM ( pcGRXTempName ) &pcGRXRepExpr OBJECT loXFRX
>- How you insert foxcharts into report?
Report is attached.
Report contains Picture/OLE bound field:
Control source type: Expression or variable name
Control source: EVAL(chartdef.chart)
Visual chart designer form from foxchart is used to create object. Object name m.gChart is
stored in chart cursor column:
DO FORM visualchartdesigner_sample && creates public m.gChart foxchart object
CREATE CURSOR chartdef ( chart m )
INSERT INTO chartdef VALUES ('m.gChart.DrawReport()')
>- if you use image from foxcharts, can you append to reply?
m.gChart.DrawReport() returns object as described in FoxCharts tutorial.
Report engine renders this object by evaluating EVAL(chartdef.chart)
PS:
I have image which cannot rendered to pdf by xfrx but can rendered by PS printer driver + GhostScript.
I can send this image to you by email. This is other issue, this image is not used in Foxchart report.
My XFRX subscription is expired, I'm using older xfrx.
Andrus