* * *

Author Topic: Reports(nnot bands only code),aby options?  (Read 399 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: 709
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....

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

  • Full Member
  • ***
  • Posts: 168
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

jujibo

  • Jr. Member
  • **
  • Posts: 62
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: 1220
    • 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

  • Full Member
  • ***
  • Posts: 135
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: 1220
    • 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

  • New member
  • *
  • Posts: 28
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.

 

Recent

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