[reportlab-users] SQL ReportLab Example Question..

Robin Becker robin at reportlab.com
Tue Aug 16 06:48:09 EDT 2005


longoal at optonline.net wrote:
> I am trying to get an example on how to incorporate a data recordset with ReportLab. 
> 
> One way that I was thinking about doing this was:
> 
>   1. Open a file stream Or Python Report Source(ie; .py file)
>   2. Write all the ReportLab headings i.e; import .....
>   3. Write to the file and open up a DATA declaration.(ie. data = (
>         ('', 'Jan', 
>   4. Open a recordset and iterate and append to the DATA declaration.
>   5. close the DATA declaration and close the .py file
>   6. Shell execute the file which should create the "PDF" file.
> 
> Any ideas on how to do this a different way?
> Thanks in advance,
> AL
> ps. currently getting data from Oracle 10g Database using OCI and ASP/IIS.
> _______________________________________________

.....

It's not clear what language/environment you are using. Presumably it's not python.
-- 
Robin Becker


More information about the reportlab-users mailing list