* * *

Author Topic: Need reports with Lazarus  (Read 3427 times)

UglyBloke

  • New member
  • *
  • Posts: 6
Need reports with Lazarus
« on: April 20, 2017, 01:42:50 pm »
Hi, I'm trying to get ANY banded report package installed into my recently installed Lazarus 1.6.4 (FPC 3.0.2, SVC 5 4 278).
  I am new to Lazarus but have many years used PolyPascal, TurboPascal and Delphi6, with DM Reportbuilder.
 I have tried the latest Fortes323 and Fortes424 (FortesReport4) packages but they will not compile using "Install Packages", errors include "Illegal Type conversions" and others.
Can anyone point to a working reporting package or indicate where my problems might be overcome.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5740
Re: Need reports with Lazarus
« Reply #1 on: April 20, 2017, 03:23:44 pm »
lazreport comes with lazarus, being based on an older opensourced free/fastreport. That summarizes my experience on reports though.

Graeme

  • Hero Member
  • *****
  • Posts: 1410
    • Graeme on the web
Re: Need reports with Lazarus
« Reply #2 on: April 20, 2017, 04:05:13 pm »
During the next 4-5 weeks Free Pascal will get its very own reporting engine (fpReport) - targeted at replacing LazReport. I wrote it from the ground up and has NO dependencies on GUI toolkit libraries (unlike all other reporting engines), so it will work very well in a headless server environment too. It has been used in a closed commercial environment for a couple months now. Even thought it will be released into FPC Trunk, the reporting code is very well tested against FPC 2.6.4 and FPC 3.0.2 too. So if you don't use FPC Trunk (not generally recommended), you can safely copy the fpReport directory to a external directory and use it with a stable FPC release.

I know it's not ideal news (fpReport not being instantly available), but if you can wait a little while, it will be well worth it.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Handoko

  • Hero Member
  • *****
  • Posts: 1649
  • My goal: build my own game engine using Lazarus
Re: Need reports with Lazarus
« Reply #3 on: April 20, 2017, 05:08:55 pm »
+1

Thanks Graeme for developing the report engine. I first knew it on FP & Lazarus Foundation website. Glad to hear it is now almost ready to be released.

Graeme

  • Hero Member
  • *****
  • Posts: 1410
    • Graeme on the web
Re: Need reports with Lazarus
« Reply #4 on: April 20, 2017, 07:22:13 pm »
I got confirmation from the company that contracted me for the work, that they will be releasing it to Free Pascal any time during the next 6 weeks.

In the mean time, here are some PDF's generated by fpReport's 11 demos. There is also one real-world report "calendar_report.pdf".  fpReport can output to PDF, PNG, JPG and BMP - no external libraries required and no GUI toolkit dependencies.. The native streaming format (storage) is JSON.

  http://geldenhuys.co.uk/~graemeg/fpreport/

Edit:
   Please note I simply copied the PDF's from the last time I ran the fpReport demos (mid 2016 I believe).
   Since then I implemented much improved font and text support in Free Pascal PDF engine (fcl-pdf)
   package. So font issues are much less now (something you might experience if viewing the PDF's I shared
   using a Web Browser's built-in PDF support).
« Last Edit: April 20, 2017, 07:58:40 pm by Graeme »
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

marcinh

  • Newbie
  • Posts: 3
Re: Need reports with Lazarus
« Reply #5 on: May 31, 2017, 02:51:02 pm »
I know that 6 weeks is passing by tomorrow, but are there any up-to-date information on this never-ending story ;) of publicizing a fpreport?

Graeme

  • Hero Member
  • *****
  • Posts: 1410
    • Graeme on the web
Re: Need reports with Lazarus
« Reply #6 on: June 02, 2017, 12:01:19 am »
I know that 6 weeks is passing by tomorrow, but are there any up-to-date information on this never-ending story ;) of publicizing a fpreport?
The fpReport code has already been moved out of the company source repository into a private Free Pascal repository. We cleaned up the demos and removed client (company) specific helper units not needed for FPC users. Michael van Canneyt wanted a smooth as possible uptake to fpReport, so insisted that a visual report designer exists - this is what caused the day. Good news is that there is now a visual report designer as well. There is one small todo item left on the visual report desiger side - regarding data integration. Michael is working on that, after which we will publish all the code in the FPC, Lazarus and fpGUI repositories. As a bonus, Michael wanted a better HTML report exporter, and implemented a very impressive one at that.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

JZS

  • Full Member
  • ***
  • Posts: 184
Re: Need reports with Lazarus
« Reply #7 on: June 19, 2017, 10:49:59 am »
Michael is working on that, after which we will publish all the code in the FPC, Lazarus and fpGUI repositories. As a bonus, Michael wanted a better HTML report exporter, and implemented a very impressive one at that.

I am excited about this great news, but it seems it will take a while.
Is it possible to have a peek?
« Last Edit: June 21, 2017, 01:38:41 pm by JZS »
I use recent stable release

talorigomat

  • Jr. Member
  • **
  • Posts: 92
Re: Need reports with Lazarus
« Reply #8 on: June 20, 2017, 01:05:00 pm »
I'd also be interested in getting a look at it.
Lazarus 1.8.0Rc4, Windows 10

JD

  • Hero Member
  • *****
  • Posts: 1596
Re: Need reports with Lazarus
« Reply #9 on: June 21, 2017, 12:11:03 pm »
I'm very glad to hear that lots of progress has been made with the native fpReport. Kudos to the development team. I'll be eagerly  looking forward to its release.

JD
Windows (10, 7) - Lazarus 1.8RC4/FPC 3.0.4 (also Delphi occasionally)
Linux Mint Cinnamon  - Lazarus 1.6.4/FPC 3.0.2
Indy 10.6 series; Zeos 7.2.1; SQLite, Firebird, PostgreSQL & MariaDB

Pascal

  • Sr. Member
  • ****
  • Posts: 488
Re: Need reports with Lazarus
« Reply #10 on: June 27, 2017, 09:52:48 am »
Graeme, any news on this?
I am also looking forward using this native report components and probably adding PDF/A-3 support.
laz trunk - fpc trunk 32bit - Windows 10 Pro x64

dymatrix

  • Newbie
  • Posts: 1
Re: Need reports with Lazarus
« Reply #11 on: July 20, 2017, 10:56:53 pm »
Looking forward to seeing this.  I am in need of a reporting tool for Linux.  Plan on using a FreePascal cgi program to generate nicely formate PDF reports and letters needed in a small php application.

Cheers!

Trenatos

  • Full Member
  • ***
  • Posts: 242
Re: Need reports with Lazarus
« Reply #12 on: September 20, 2017, 09:50:49 pm »
@Graeme, this sounds exactly like what I need! A way to generate reports/images on a headless server.

How is progress? Anything I can help with? (Mac and Linux)

engkin

  • Hero Member
  • *****
  • Posts: 1649

Trenatos

  • Full Member
  • ***
  • Posts: 242
Re: Need reports with Lazarus
« Reply #14 on: September 20, 2017, 10:41:36 pm »
I have not seen that announcement before.

I built FPC and Lazarus from trunk just days ago, I don't see any reference to fpReport/fcl-report.

 

Recent

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