With Pauls input (thanks to Paul) I have now have a report that works
fine in the report designer and preview without a gliche
So the next step is to run it form within a python script so I set up
the following

import dabo
import dabo.lib
import dabo.dReportWriter
import dabo.lib.reportUtils

f=dabo.lib.reportUtils.getTempFile()
print f
rw= dabo.dReportWriter.dReportWriter(Name = "rw1",OutputFile= f)
rw.ReportFormFile ="/home/me/mytestfile.rfxml"
rw.UseTestCursor = True
rw.write(True)
dabo.lib.reportUtils.previewPDF(f)

This with only the multiple recursion exception but fails to produce an
outputfile 
The output file assigned  is like /tmp/tmpxDf0zE.pdf
but no pdf file appears in the tmp directory and the viewer fails with
unable to find file
I have also tried with direct assignment of the outputfile

rw = dabo.dReportWriter()
rw.OutputFile = f

What other code do I need to get the output into the file?
Mike Ayers




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/1264647031.5037.15.ca...@linux

Reply via email to