[reportlab-users] Seeking Example of Grouped Database Report

Andy Robinson andy at reportlab.com
Mon Mar 5 17:54:57 EST 2007


Rich Shepard wrote:

> I've read Chapter 5 (Platypus) in the Users Guide and looked at the

> odyssey and other examples. I also understand the concepts and uses of page

> templates, styles, flowables, and paragraphs; still not certain where

> 'story' fits in the scheme of things. But, I would like to see an example of

> multi-table data used in a ReportLab output.

>

> Are such examples (as python and/or xml files) available from someone or

> some place?

>


Sadly I'm not aware of any. Strangely, of all the projects ReportLab
has done in the last 6 years, hardly any have been classic grouped
database reports. There is no fundamental difficulty, but we do lack a
clean example; if anyone wants to contribute one that would be great.
One possibility is to use the video-store sample database which MySQL
provides these days (also used by PythonReports below...)

There are a couple of projects addressing this which use our library and
might help, although it may be more code than you want...

PythonReports adds a higher level specification language to define
groups and nesting. I've tried it and it works.
http://pythonreports.sourceforge.net/


Dabo is a framework for building GUIs which includes a report designer
on top of ReportLab:
http://dabodev.com/documentation


Best Regards,


Andy Robinson
CEO/Chief Architect


More information about the reportlab-users mailing list