Recent

Author Topic: New Fortes4Lazarus Report Generator  (Read 17233 times)

neobrasil08

  • New Member
  • *
  • Posts: 15
New Fortes4Lazarus Report Generator
« on: July 01, 2010, 02:14:19 pm »
Fortes4Lazarus - An powerfull reportgenerator for lazarus/freepascal

This version is a fork/port of Fortes Report for delphi version 3.23

Features:

.WYSWYG - more facility to report development
.Cross-Plataform: run on windows and linux
.DraftFilter for matricial printers
.Export to pdf, html, rtf and excel formats
.Make labels easy and quickly !
.BeforePrint, AfterPrint events
and more...

download the package: http://www.4shared.com/file/fWAAcR7R/fortes323forlaz.html

More information, sugestions: http://dicas4lazarus.blogspot.com

Be Free!
Use Lazarus/Freepascal



cpalx

  • Hero Member
  • *****
  • Posts: 753
Re: New Fortes4Lazarus Report Generator
« Reply #1 on: July 01, 2010, 06:56:03 pm »
change  {$  LINUX }  to {$  UNIX} then will compile in Mac

jdepaz

  • Newbie
  • Posts: 2
Re: New Fortes4Lazarus Report Generator -ERROR-
« Reply #2 on: July 01, 2010, 07:27:56 pm »


C:\lazarus\components\fortes\rlprintdialog.pas(214,29) Error: Wrong number of parameters specified for call to "CreateNew"

in

constructor TRLPrintDialog.Create(aOwner:TComponent);
begin
  inherited CreateNew(aOwner);
  //
  Init;
end;   

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: New Fortes4Lazarus Report Generator
« Reply #3 on: July 01, 2010, 11:05:18 pm »
Fortes4Lazarus - An powerfull reportgenerator for lazarus/freepascal

This version is a fork/port of Fortes Report for delphi version 3.23

download the package: http://www.4shared.com/file/fWAAcR7R/fortes323forlaz.html

More information, sugestions: http://dicas4lazarus.blogspot.com

I'm a little confused here because the version on the sourceforge website below is version 3.24!  :o
http://sourceforge.net/projects/fortes4lazarus/files/

Is there an error in version numbering somewhere?
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

Jishaxe

  • Full Member
  • ***
  • Posts: 103
  • Hobbist Programmer
Re: New Fortes4Lazarus Report Generator
« Reply #4 on: July 03, 2010, 03:02:20 pm »
I had the same problem as jdepaz.
Linux Mint 12
Windows 7 Home Premium
______________________
Definition of programmer: An organism that converts caffeine into software.

wOvAN

  • New Member
  • *
  • Posts: 47
    • wxSoft.Ru
Re: New Fortes4Lazarus Report Generator
« Reply #5 on: July 04, 2010, 01:58:52 pm »
fpc 2.5.1 and Lazarus 0.9.29 doesn't compile

gives the following error:

Code: [Select]
\fortes\rldraftfilterdialog.pas(69,12) Error: Only class class methods, class properties and class variables can be accessed in class methods
Code: [Select]
class function TRLDraftFilterDialogForm.Execute(
  Filter: TRLDraftFilter): boolean;
var
  Form:TRLDraftFilterDialogForm;
begin
  Form := TRLDraftFilterDialogForm.Create(nil);
  try
    Form.ButtonOk.Caption := LS_OkStr;
    with Form.RadioGroupFormulary do
    begin
      Items.Add('80 '+LS_ColumnsStr);
      Items.Add('132 '+LS_ColumnsStr);
    end;

    Form.Filter:=Filter;
    case Filter.FormSelection of
      fs80Cols : Form.RadioGroupFormulary.ItemIndex:=0;
      fs132Cols: Form.RadioGroupFormulary.ItemIndex:=1;
    else
      Form.RadioGroupFormulary.ItemIndex:=0;
    end;
    Result:=(Form.ShowModal=mrOk);
    if Result then
      case Form.RadioGroupFormulary.ItemIndex of
        0: Filter.FormSelection:=fs80Cols;
        1: Filter.FormSelection:=fs132Cols;
      end;
  finally
!!!>>>HERE>>>!!!    Destroy;
  end;
end;     

also i'd like to ask the author if it's not so difficult for him, to comment the code in english  ::)

neobrasil08

  • New Member
  • *
  • Posts: 15
Re: New Fortes4Lazarus Report Generator
« Reply #6 on: July 05, 2010, 10:11:03 pm »
Hello

wOvAN:

I testing fortes323 only on fpc 2.4.0 ok
Try change {$mode objfpc} to {$mode delphi}{$H+}

JD:

This is other version of fortes4lazarus, now we have two versions: 3.34 and 3.23 based
The 3.24 version based, have a strange bug still not resolved. Problem on fortes4lazarus3.24 or LCL, still in study.

Jdepaz and Joshuzzz

Please try  CreateNew(aOwner,0) instead of  CreateNew(aOwner);

cpalx:

I will work on change {$LINUX} to {$UNIX}, but no guarantee !


I Hope still help you.



cpalx

  • Hero Member
  • *****
  • Posts: 753
Re: New Fortes4Lazarus Report Generator
« Reply #7 on: July 06, 2010, 04:47:25 am »
i changed and compiled fine in macOS, but i need to make some test to see how it works

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: New Fortes4Lazarus Report Generator
« Reply #8 on: July 06, 2010, 05:18:50 pm »
OK. I've downloaded & replace my version 3.24 with version 3.23. Thanks!  :D
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

Guillermo

  • New Member
  • *
  • Posts: 19
Re: Fortes4Lazarus compile error
« Reply #9 on: October 17, 2010, 11:31:23 pm »
Hello! I've got same error as jdepaz, try "Createnew(aOwner, 0)" and seems to work... but I got another error:

C:\lazarus\components\fortes4lazarus\rlpreview.pas(342,17) Error: identifier idents no member "Tracking"
C:\lazarus\components\fortes4lazarus\rlpreview.pas(343,17) Error: identifier idents no member "Tracking"

in TRLPreview.Create

Guillermo.
Guillermo.

 

TinyPortal © 2005-2018