Recent

Author Topic: MultiColumn Report  (Read 3820 times)

MacWomble

  • Jr. Member
  • **
  • Posts: 77
MultiColumn Report
« on: December 03, 2017, 02:47:45 pm »
Hi
i had a problem getting a report to work.

It should look like:

Master
------------------------------------
Detail           | Subdetail

So I tried to use subreports on Detailband to show dteail and subdetail side by side, but there are only the records of the last detail shown in subdetail (Subreport2), Subreport1 is shown OK).

MasterData
-------------------------------------
Subreport1    |Subreport2

In the Subreports I used a master-band.

Using MasterData, DetailData, SubDetailData one after another in the Report all is shown right, so the relations of the datasources seams to be ok.
Is any hint/sample available here? (And yes I got the documentation and I read it - but did not absolutely understand. May be I had to use groups, but how?)

This is also postet in german lazarus-forum: http://www.lazarusforum.de/viewtopic.php?f=18&t=11271
« Last Edit: December 03, 2017, 03:08:44 pm by MacWomble »
Mint 19.3 Cinnamon, FPC/ Lazarus Trunk 64Bit

GAN

  • Sr. Member
  • ****
  • Posts: 305
Re: MultiColumn Report
« Reply #1 on: December 04, 2017, 03:41:50 am »
You should definitely use groups.
PDF FastReport User's Manual (very similar to LazReport) https://www.fast-report.com/public_download/UserManual-en.pdf
Lazarus 2.0.8 FPC 3.0.4 Linux Mint Mate 19.3
Zeos 7.2.6 - Sqlite 3.32.3

https://gitlab.com/users/GAN__/projects

MacWomble

  • Jr. Member
  • **
  • Posts: 77
Re: MultiColumn Report
« Reply #2 on: December 04, 2017, 07:51:15 am »
OK, but I did not understand where and how to use groups. Is there any sample of that?
Mint 19.3 Cinnamon, FPC/ Lazarus Trunk 64Bit

 

TinyPortal © 2005-2018