Reports without hard coding them.

Reports without hard coding them.

Postby HunterEC » Tue May 27, 2008 9: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.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Postby Antonio Linares » Tue May 27, 2008 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41277
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby HunterEC » Tue May 27, 2008 9: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.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Postby Antonio Linares » Tue May 27, 2008 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41277
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 1 guest