tim awa wrote: > I have a one form application with two grids (parent-child > relationship). It was created in ClassDesigner and saved as a Runable > App. I have created a .rfxml with a testcursor but I need some help on > what code to put in the print button on the form to preview or output > the report.
It would be something like this: rw = dabo.dReportWriter() rw.ReportFormFile = "my.rfxml" rw.Cursor = myChildBiz.getDataSet() rw.OutputFile = f = reportUtils.getTempFile() rw.write() reportUtils.previewPDF(f) > Also, how would the report know which data in the two grids will it > use? I intend to print only the child table but I do not know how to > specify this in the report. The report will operate on whatever dataset you give it via the Cursor property. Paul _______________________________________________ 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/[email protected]
