FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper Reports without hard coding them.
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Reports without hard coding them.
Posted: Tue May 27, 2008 09:00 AM

Is there a way of building a report with groups, fonts, headers, footers, etc. without hard coding it ? For example having a DBF file with all the fields, headers, footers, group information, etc. so you can read this file and build whatever report is present. This will be a time saver since you can update your reports without recompiling the application.

Any examples will be appreciated.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Reports without hard coding them.
Posted: Tue May 27, 2008 09:04 AM

Gustavo,

You can use a report designer. There are some of them.

When you buy FWH (FiveWin for Harbour) we provide you a free EasyReport personal edition as a gift.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Reports without hard coding them.
Posted: Tue May 27, 2008 09:13 AM

Antonio: Thank you for the tip. But, can I assign the data values to the different report objects to create a report instead of the REPORT ... COLUMN ... command. I prefer to stick with FiveWin instead of using another tool like the report designer. My purpose is to build the reports from data definitions on DBFs not that my customers design them.

For example:

oReport:Title := "Title"
oColumn[1]:header := "Name"
oColumn[1]:data := {|| (Field)}
.
.
.
etc.

Thank you very much for your help.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Reports without hard coding them.
Posted: Tue May 27, 2008 09:17 AM

Gustavo,

EasyReport is developed with FiveWin and you link it to your EXE as a library.

Please review fw\samples\report folder for a complete tutorial for FiveWin reports

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion