Discussion:
Report Tools for Lazarus
Jesus Reyes
2007-06-08 18:57:28 UTC
Permalink
Hi all, we are in talks about the possibility to include LazReport as
a component included in Lazarus, one of the questions that raised was
if there are more Reporting Tools that work with Lazarus even if they
can't be included, we would like to know.

Thanks.

Jesus Reyes A.





___________________________________________________________
Do You Yahoo!?
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. http://net.yahoo.com.mx
Hess, Philip J
2007-06-08 19:23:45 UTC
Permalink
It's not a report tool, per se, but you can use FPC's RtfPars unit to create an RTF document, then display it in the user's word processor. Two units that simpify this are included in the XDev Toolkit:

http://wiki.lazarus.freepascal.org/XDev_Toolkit

The advantage to generating the report as RTF is that you have excellent control over the final look of the report since you can use any RTF formatting. Plus it's already in a form that the user can then browser, edit, print or save, without any "export" step required.

Thanks.

-Phil


-----Original Message-----
From: Jesus Reyes [mailto:***@yahoo.com.mx]
Sent: Friday, June 08, 2007 2:57 PM
To: ***@miraclec.com
Subject: [lazarus] Report Tools for Lazarus

Hi all, we are in talks about the possibility to include LazReport as
a component included in Lazarus, one of the questions that raised was
if there are more Reporting Tools that work with Lazarus even if they
can't be included, we would like to know.

Thanks.

Jesus Reyes A.





___________________________________________________________
Do You Yahoo!?
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. http://net.yahoo.com.mx

_________________________________________________________________
To unsubscribe: mail lazarus-***@miraclec.com with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
Michael Van Canneyt
2007-06-08 20:21:21 UTC
Permalink
Post by Jesus Reyes
Hi all, we are in talks about the possibility to include LazReport as
a component included in Lazarus, one of the questions that raised was
if there are more Reporting Tools that work with Lazarus even if they
can't be included, we would like to know.
Reportman should also work with Lazarus. (reportman.sourceforge.net)

One thing I'm concerned about is the license of lazreport: it's based
on FreeReport from Fastreports, but I'm not sure whether you can
re-license it using the modified lgpl. I think you'll have to ask
the original author for this.

Michael.
Jesus Reyes
2007-06-08 20:41:20 UTC
Permalink
Post by Jesus Reyes
Post by Jesus Reyes
Hi all, we are in talks about the possibility to include
LazReport as
Post by Jesus Reyes
a component included in Lazarus, one of the questions that raised
was
Post by Jesus Reyes
if there are more Reporting Tools that work with Lazarus even if
they
Post by Jesus Reyes
can't be included, we would like to know.
Reportman should also work with Lazarus.
(reportman.sourceforge.net)
One thing I'm concerned about is the license of lazreport: it's based
on FreeReport from Fastreports, but I'm not sure whether you can
re-license it using the modified lgpl. I think you'll have to ask
the original author for this.
Michael.
LazReport license was approved by FastReport/FreeReport Copyright
owners. See this:
http://www.mail-archive.com/***@miraclec.com/msg04258.html

Jesus Reyes A.


Llama gratis a cualquier PC del mundo.
Con una excelente calidad de sonido.
http://mx.messenger.yahoo.com/
Michael Van Canneyt
2007-06-08 20:59:05 UTC
Permalink
Post by Jesus Reyes
Post by Jesus Reyes
Post by Jesus Reyes
Hi all, we are in talks about the possibility to include
LazReport as
Post by Jesus Reyes
a component included in Lazarus, one of the questions that raised
was
Post by Jesus Reyes
if there are more Reporting Tools that work with Lazarus even if
they
Post by Jesus Reyes
can't be included, we would like to know.
Reportman should also work with Lazarus.
(reportman.sourceforge.net)
One thing I'm concerned about is the license of lazreport: it's based
on FreeReport from Fastreports, but I'm not sure whether you can
re-license it using the modified lgpl. I think you'll have to ask
the original author for this.
Michael.
LazReport license was approved by FastReport/FreeReport Copyright
Excellent news.
In that case, I'm all for including it by default in Lazarus :-)

Michael.
Arí Ricardo Ody
2007-06-08 21:08:06 UTC
Permalink
And I ask: This time, please generate
documentation for people with low expertise in Lazarus and all this stuff...

Kind regards,

Ricardo
Post by Michael Van Canneyt
Post by Jesus Reyes
Post by Jesus Reyes
Post by Jesus Reyes
Hi all, we are in talks about the possibility to include
LazReport as
Post by Jesus Reyes
a component included in Lazarus, one of the questions that raised
was
Post by Jesus Reyes
if there are more Reporting Tools that work with Lazarus even if
they
Post by Jesus Reyes
can't be included, we would like to know.
Reportman should also work with Lazarus.
(reportman.sourceforge.net)
One thing I'm concerned about is the license of lazreport: it's based
on FreeReport from Fastreports, but I'm not sure whether you can
re-license it using the modified lgpl. I think you'll have to ask
the original author for this.
Michael.
LazReport license was approved by FastReport/FreeReport Copyright
Excellent news.
In that case, I'm all for including it by default in Lazarus :-)
Michael.
Christian Ulrich
2007-06-08 22:16:42 UTC
Permalink
And I ask: This time, please generate documentation for people with
low expertise in Lazarus and all this stuff...
Create an Bounty for this...

regards
Christian
Arí Ricardo Ody
2007-06-08 23:06:32 UTC
Permalink
Great response... I think you was trying to be funny.

The tool would be used for more people if it was
documented, or, at least, there would be a lot of
examples. Single and more complex...

Well... It's always possible to convert our
reports to PDF, no? (and without bounties... free
with lot of programs that convert to PDF)

[ ]


Ricardo
Post by Christian Ulrich
Post by Arí Ricardo Ody
And I ask: This time, please generate
documentation for people with low expertise in Lazarus and all this stuff...
Create an Bounty for this...
regards
Christian
_________________________________________________________________
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
Павел Ишенин
2007-06-08 23:27:27 UTC
Permalink
Post by Arí Ricardo Ody
Great response... I think you was trying to be funny.
The tool would be used for more people if it was documented, or, at
least, there would be a lot of examples. Single and more complex...
Well... It's always possible to convert our reports to PDF, no? (and
without bounties... free with lot of programs that convert to PDF)
FastReport 2.x already has big documentation and as I know you can
download it from fastreports site.

Best regards,
Paul Ishenin.
Arí Ricardo Ody
2007-06-08 23:35:04 UTC
Permalink
Great pal!

I'll take a look....

Thank you very much...

Ricardo
Post by Павел Ишенин
Post by Arí Ricardo Ody
Great response... I think you was trying to be funny.
The tool would be used for more people if it
was documented, or, at least, there would be a
lot of examples. Single and more complex...
Well... It's always possible to convert our
reports to PDF, no? (and without bounties...
free with lot of programs that convert to PDF)
FastReport 2.x already has big documentation and
as I know you can download it from fastreports site.
Best regards,
Paul Ishenin.
_________________________________________________________________
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
Christian Ulrich
2007-06-09 04:40:34 UTC
Permalink
Post by Arí Ricardo Ody
Great response... I think you was trying to be funny.
no, why you dont make it ?
you cant expect something from opensource.
Post by Arí Ricardo Ody
The tool would be used for more people if it was documented, or, at
least, there would be a lot of examples. Single and more complex...
maybe, but what pay these people ?
if somebody want to make this everything is fine but dont expect this.
Post by Arí Ricardo Ody
Well... It's always possible to convert our reports to PDF, no? (and
without bounties... free with lot of programs that convert to PDF)
it is possible to export to txt,htm,rtf and pdf

regards
Christian
Arí Ricardo Ody
2007-06-09 15:45:51 UTC
Permalink
If I need to pay for documentation, I buy Delphi or VB. At least I have someone to complain if something is wrong...

Bye bye

Ricardo
Post by Christian Ulrich
Post by Arí Ricardo Ody
Great response... I think you was trying to be funny.
no, why you dont make it ?
you cant expect something from opensource.
Post by Arí Ricardo Ody
The tool would be used for more people if it was documented, or, at
least, there would be a lot of examples. Single and more complex...
maybe, but what pay these people ?
if somebody want to make this everything is fine but dont expect this.
Post by Arí Ricardo Ody
Well... It's always possible to convert our reports to PDF, no? (and
without bounties... free with lot of programs that convert to PDF)
it is possible to export to txt,htm,rtf and pdf
regards
Christian
_________________________________________________________________
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
Christian Ulrich
2007-06-09 17:09:37 UTC
Permalink
Post by Arí Ricardo Ody
If I need to pay for documentation, I buy Delphi or VB. At least I have someone to complain if something is wrong...
If you dont want to pay something, expect also nothing.
I dont understand peple how expect to recive everything what is software
to be free.
Open Source is an great thing. But since everyone pirat copys its
Software people expect that software is free.
Sorry i cant share this Opinion.
Post by Arí Ricardo Ody
Bye bye
exactly
Post by Arí Ricardo Ody
Ricardo
Post by Christian Ulrich
Post by Arí Ricardo Ody
Great response... I think you was trying to be funny.
no, why you dont make it ?
you cant expect something from opensource.
Post by Arí Ricardo Ody
The tool would be used for more people if it was documented, or, at
least, there would be a lot of examples. Single and more complex...
maybe, but what pay these people ?
if somebody want to make this everything is fine but dont expect this.
Post by Arí Ricardo Ody
Well... It's always possible to convert our reports to PDF, no? (and
without bounties... free with lot of programs that convert to PDF)
it is possible to export to txt,htm,rtf and pdf
regards
Christian
_________________________________________________________________
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
Graeme Geldenhuys
2007-06-09 13:47:56 UTC
Permalink
Post by Michael Van Canneyt
Reportman should also work with Lazarus. (reportman.sourceforge.net)
I used Reportman with Kylix and Delphi to great success. I generated
reports from Objects, not a Dataset. This worked very well. Can
LazReport do this?

Last time I checked (months ago) there was talks about porting
ReportMan to FPC/Lazarus. Was that actually done?

Regards,
- Graeme -
Joao Morais
2007-06-09 15:21:28 UTC
Permalink
Post by Graeme Geldenhuys
Post by Michael Van Canneyt
Reportman should also work with Lazarus. (reportman.sourceforge.net)
I used Reportman with Kylix and Delphi to great success. I generated
reports from Objects, not a Dataset. This worked very well. Can
LazReport do this?
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
working very well but wasn't so simple to implement, so, it depends what
are you expecting.

--
Joao Morais
Graeme Geldenhuys
2007-06-09 15:34:28 UTC
Permalink
Post by Joao Morais
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?

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.
Post by Joao Morais
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. :-)
--
Graeme Geldenhuys

"General error, hit any user to continue."
Joao Morais
2007-06-09 17:58:59 UTC
Permalink
Post by Graeme Geldenhuys
Post by Joao Morais
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.
Post by Graeme Geldenhuys
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).
Post by Graeme Geldenhuys
Post by Joao Morais
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
Jesus Reyes
2007-06-09 18:58:00 UTC
Permalink
Post by Joao Morais
Post by Graeme Geldenhuys
Post by Joao Morais
I am using FreeReport with Delphi and building reports in
runtime
Post by Graeme Geldenhuys
Post by Joao Morais
against a business class model. I am using a wrapper to the
TUserDefinedDataSet (don't remember the exact name) class. This
has been
Post by Graeme Geldenhuys
This sounds like what ReportBuilder does in Delphi. A very
powerful
Post by Graeme Geldenhuys
feature for reporting and allows you to report from just about
anything. At runtime you inject the data you need and to the
reporting
Post by Graeme Geldenhuys
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.
I can confirm that, yes LazReport has TfrUserDataset components so
one can have a custom data cursor, in fact, in 0.9.4 version there is
a sample showing exactly this functionality. Sample is in
Samples/UserDs directory.

Jesus Reyes A.






___________________________________________________________
Do You Yahoo!?
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. http://net.yahoo.com.mx
Lee Jenkins
2007-06-10 02:32:42 UTC
Permalink
Post by Jesus Reyes
Post by Joao Morais
Post by Graeme Geldenhuys
Post by Joao Morais
I am using FreeReport with Delphi and building reports in
runtime
Post by Graeme Geldenhuys
Post by Joao Morais
against a business class model. I am using a wrapper to the
TUserDefinedDataSet (don't remember the exact name) class. This
has been
Post by Graeme Geldenhuys
This sounds like what ReportBuilder does in Delphi. A very
powerful
Post by Graeme Geldenhuys
feature for reporting and allows you to report from just about
anything. At runtime you inject the data you need and to the
reporting
Post by Graeme Geldenhuys
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.
I can confirm that, yes LazReport has TfrUserDataset components so
one can have a custom data cursor, in fact, in 0.9.4 version there is
a sample showing exactly this functionality. Sample is in
Samples/UserDs directory.
Jesus Reyes A.
From the documentation on sf.net:

"Frequently you may find the need to extract data from other sources,
not having a relation to databases (for example, file, array or string
grid). This is the purpose of the TfrUserDataset component, it generates
the events OnFirst, OnNext, OnCheckEOF to handle navigation in this type
of data. You should also create event handlers for the OnGetValue and
OnEnterRectangle events of the TfrReport component."
--
Warm Regards,

Lee
Graeme Geldenhuys
2007-06-10 08:57:33 UTC
Permalink
Post by Jesus Reyes
I can confirm that, yes LazReport has TfrUserDataset components so
one can have a custom data cursor, in fact, in 0.9.4 version there is
a sample showing exactly this functionality. Sample is in
Samples/UserDs directory.
That's excellent news!

Graeme.
Leonardo M. Ramé
2007-06-11 14:00:32 UTC
Permalink
Currently I'm using a component
(http://digilander.libero.it/snapobject/) to load a TDataSet with data
from an object (TObject or TCollection), then connect to a TfrxReport
and print it the same way you should do with a TQuery or TTable.

I don't know if SnapObjectDataSet can be used directly in Lazarus but
I'm sure it can be converted to work.

Leonardo M. Ramé
http://leonardorame.blogspot.com

Loading...