Recent

Author Topic: Reports(nnot bands only code),aby options?  (Read 2885 times)

md9projeto

  • New member
  • *
  • Posts: 7
Reports(nnot bands only code),aby options?
« on: May 17, 2018, 02:43:47 am »
Hi,

Iḿ trying to move from DElphi to Lazarus,I Allways prefer to create reports using only code(Rave Reports,GmPrintSUite,VPE) ,could not find anything for Lazarus.

Thanks,
Marcello

jamie

  • Hero Member
  • *****
  • Posts: 6077
Re: Reports(nnot bands only code),aby options?
« Reply #1 on: May 17, 2018, 04:07:13 am »
Did you look at "LazReport" ?

 Not sure if that is what you want but....
The only true wisdom is knowing you know nothing

md9projeto

  • New member
  • *
  • Posts: 7
Re: Reports(nnot bands only code),aby options?
« Reply #2 on: May 17, 2018, 04:58:36 am »
Unless I got LazREport wrong,it is a band oriented report engine.
I want a canvas where I can draw freely.

Marcello

GAN

  • Sr. Member
  • ****
  • Posts: 370
Lazarus 2.0.8 FPC 3.0.4 Linux Mint Mate 19.3
Zeos 7̶.̶2̶.̶6̶ 7.1.3a-stable - Sqlite 3.32.3 - LazReport

jujibo

  • Full Member
  • ***
  • Posts: 114
Re: Reports(nnot bands only code),aby options?
« Reply #4 on: May 17, 2018, 09:36:35 am »
Unless I got LazREport wrong,it is a band oriented report engine.
I want a canvas where I can draw freely.

Lazreport has the addon lr_codereport where you can draw freely

Zoran

  • Hero Member
  • *****
  • Posts: 1824
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Reports(nnot bands only code),aby options?
« Reply #5 on: May 17, 2018, 10:13:01 am »
LazPrint? https://www.freepascal.org/~michael/articles/lazprint/lazprint.pdf

Yes, I think that the topic creator should start with this article.
However, the link doesn't work for me, but opening Michael's articles' page works: https://www.freepascal.org/~michael/articles/. Then, find lazprint article there.

HeavyUser

  • Sr. Member
  • ****
  • Posts: 397
Re: Reports(nnot bands only code),aby options?
« Reply #6 on: May 17, 2018, 11:40:45 am »
wasn't there an fpreport that was code only just added to the RTL?

md9projeto

  • New member
  • *
  • Posts: 7
Re: Reports(nnot bands only code),aby options?
« Reply #7 on: May 17, 2018, 12:44:09 pm »
Thanks for all the answers,Iĺl investigate them.

Marcello

Zoran

  • Hero Member
  • *****
  • Posts: 1824
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Reports(nnot bands only code),aby options?
« Reply #8 on: May 17, 2018, 06:10:49 pm »
wasn't there an fpreport that was code only just added to the RTL?

Yes, but it is band-oriented, see the first sentence in the wiki:
Quote
FPReport is a banded reporting tool.

which the topic starter specifically asked not to be.
« Last Edit: May 17, 2018, 06:12:58 pm by Zoran »

Soner

  • Sr. Member
  • ****
  • Posts: 305
Re: Reports(nnot bands only code),aby options?
« Reply #9 on: May 17, 2018, 06:29:17 pm »
You can use lazreport without bands. You can put Memo, Line and other objects direct on report.
I am using it for my custom report.

Some of usefull functions:
frReport1.Pages.Add;
frReport1.Pages.Clear;
if y>frReport1.Pages[CurrentPage].BottomMargin then  frReport1.Pages.Add;
frReport1.Pages[CurrentPage].LeftMargin;
frReport1.Pages[CurrentPage].RightMargin;

Edit:
Do not any bands. Use it bandless.

 

TinyPortal © 2005-2018