* * *

Author Topic: MultiColumn Report  (Read 1716 times)

MacWomble

  • New member
  • *
  • Posts: 22
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 18.3 Cinnamon, Codetyphon 6.4 64Bit

GAN

  • Full Member
  • ***
  • Posts: 186
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 1.6 FPC 3.0.0 Linux Mint Mate 17.2 x86_64 GTK-2
Zeos 7.1.3 - Sqlite 3.8.2

Foro Lazarus en español http://forum.lazarus.freepascal.org/index.php/board,73.0.html

MacWomble

  • New member
  • *
  • Posts: 22
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 18.3 Cinnamon, Codetyphon 6.4 64Bit

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus