Reports without hard coding them.

Post Reply
HunterEC
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Reports without hard coding them.

Post by HunterEC »

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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
HunterEC
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Post by HunterEC »

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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
Post Reply