Lazarus

Programming => Packages and Libraries => LazReport => Topic started by: dsyrios on March 30, 2017, 05:52:08 pm

Title: LazReport - Help with more than one master-detail tables
Post by: dsyrios on March 30, 2017, 05:52:08 pm
Hi,
I need a help using LazReport
as I use one master table and two (or more) details tables.
I show the lazreport/samples and I didn't found something like this.
I want to group all 3 (or more) tables.
In the attachment there is a sample of a simple db
and two ready reports but only with 2 tables master-detail.

My goal is like the...   what_i_want.png
Thanks in advance, for any helping hint/suggestion.
ps
In the archive there is not sqlite3.dll, because of the attachments limitations

Laz 1.6.2/FPC 3.0.0/win32
Title: Re: LazReport - Help with more than one master-detail tables
Post by: GAN on March 31, 2017, 06:55:00 am
Master-detail method is very limited, it is better to use groups. It's a little difficult but much better. This link is FastReport4 but you very useful. https://www.fast-report.com/documentation/UserMan/index.html?report_with_groups.htm

Best regards.
Title: Re: LazReport - Help with more than one master-detail tables
Post by: paweld on March 31, 2017, 10:38:24 am
Something like this
Title: Re: LazReport - Help with more than one master-detail tables
Post by: dsyrios on March 31, 2017, 04:40:33 pm
Thank you paweld,
but unfortunately, I can't open your md3.lrf
It gives: "Error while loading report"
If you got the goodness to send it again,
or describe the main idea for create something like that.
Best regards.

Title: Re: LazReport - Help with more than one master-detail tables
Post by: paweld on March 31, 2017, 07:38:43 pm
I use lazarus truk with fpc 3.0.2.
Try now - a report created with lazarus 1.6/fpc 3.0.0
Title: Re: LazReport - Help with more than one master-detail tables
Post by: dsyrios on March 31, 2017, 07:58:13 pm
Thanks a lot, paweld !
That's what I wanted.
I appreciate the time you've spent.
Title: Re: LazReport - Help with more than one master-detail tables
Post by: DelphiLand on July 21, 2018, 06:10:10 pm
Hi,
I need a help using LazReport
as I use one master table and two (or more) details tables.
I show the lazreport/samples and I didn't found something like this.

Maybe have a look at http://www.festra.com/fp/sqlite07.htm (http://www.festra.com/fp/sqlite07.htm)