On Fri, 2 Mar 2007, Paul McNett wrote:

> You can't do something like:
>
> from dabo.dReportWriter import dReportWriter
> from myReports import getReportCursor
>
> myCursor = getReportCursor()
> rw = dReportWriter(ReportFormFile="path/to/your.rfxml",
>                   OutputFile="/tmp/out.pdf",
>                   Cursor=myCursor)
> rw.write()
> ?

   Sure, Paul, now that I see what you're doing. :-)

> myCursor = ({"id": 1, "first_name": "paul"},
>            {"id": 2, "first_name": "ed"},
>            {"id": 476, "first_name": "riche"})

   Great! That's what I thought: a tuple of dicts.

Thanks very much ... both of you,

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.        |          Accelerator(TM)
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to