Graeme Geldenhuys wrote:
On 09/06/07, Joao Morais <[EMAIL PROTECTED]> wrote:
I am using FreeReport with Delphi and building reports in runtime
against a business class model. I am using a wrapper to the
TUserDefinedDataSet (don't remember the exact name) class. This has been
This sounds like what ReportBuilder does in Delphi. A very powerful
feature for reporting and allows you to report from just about
anything. At runtime you inject the data you need and to the reporting
engine it looks like a normal Dataset. Does LazReport have that
TUserDefinedDataset class?
I hope so! =) Since LazReport is based on FreeReport, the answer
probably is yes.
What I've done with ReportMan is more how QuickReports work. I use a
OnLoadData type event to populate the TReportLabel (or whatever it is
called) components with data. The reporting engine then handle the
report pages and "brought forward" totals for me.
I am creating something like a report metadata in runtime, based on the
class model. Plain members are converted in fields, plain members from
compositions and aggregations are also included as fields, container
members and the root BO are included as dataset wrappers. These dataset
wrappers are managed by the report broker, the Fast/FreeReport one
creates the TfrDataset (this is the name).
working very well but wasn't so simple to implement, so, it depends what
are you expecting.
I take all open source projects with a pinch of salt. I don't expect
an easy ride. :-)
By the way, easy rides aren't as amusing as a good challenge =)
--
Joao Morais
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives