Recent

Author Topic: [SOLVED] Reporting Component with data band columns?  (Read 441 times)

mtrsoft

  • New Member
  • *
  • Posts: 33
[SOLVED] Reporting Component with data band columns?
« on: May 04, 2021, 09:12:02 pm »
System: Win10 x64
Lazarus: 2.0.8 x32

I am considering porting an app from Delphi / RaveReports to Lazaus and need a reporting component that supports columns at the data band level.

The attached image shows what I want the report to look like. (Note: Each of the five columns has the Year & Rate data.)

As far as I can tell LazReport, FpReport and Fortes4Lazarus only support columns at the page level.

Am I missing something?

If not, is there a workaround.

Regards,
John
« Last Edit: May 05, 2021, 01:15:33 am by mtrsoft »

dseligo

  • Full Member
  • ***
  • Posts: 247
Re: Reporting Component with data band columns?
« Reply #1 on: May 04, 2021, 10:52:42 pm »
I think it could be possible with LazReport using TfrCompositeReport. You create individual reports (!_NS, CPI, CPI-CAN, ...) and then add them to composite report.

dseligo

  • Full Member
  • ***
  • Posts: 247
Re: Reporting Component with data band columns?
« Reply #2 on: May 04, 2021, 11:52:49 pm »
It works as I said. I made you small example.

mtrsoft

  • New Member
  • *
  • Posts: 33
Re: Reporting Component with data band columns?
« Reply #3 on: May 05, 2021, 01:14:57 am »
dselgo,

THANK YOU!

I think that will do it.

The only addition things I've have to deal with is I don't know ahead of time how many subreports are required and I have a number of other reports of the same ilk that are a bit more complex.

In any case, you have most definitely put me on the right track.
Thanks again.

John

 

TinyPortal © 2005-2018