Page 1 of 1
Reports without hard coding them.
Posted: Tue May 27, 2008 9:00 am
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.
Posted: Tue May 27, 2008 9:04 am
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.
Posted: Tue May 27, 2008 9:13 am
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.
Posted: Tue May 27, 2008 9:17 am
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