Report data elements not in a dataset
Hello,
I am brand new to FastReports and think I need some basic understanding.
I would like to implement a report that will have a bunch of static text and data fields over several pages. At least one of the data fields will be an image and there will be at least one chart. I can put in the static text in the report designer.
But the data are all scalars or items in an array. They are not columns and rows in a database. These data elements will all be generated in the program that needs to write the report. So first the program generates the results data. Then for the next step in the program I want to pass the data elements to the report (plus an image and generate a chart) and then finally preview and print it.
I do not understand how to pass data to the report or reference data in the program from the report, without the data being rows and columns in a DBX, IBX, ADO or BDE database.
Could someone give an idea how such a report will be set up. Perhaps you can point me to an appropriate sample, or to where to look in the documentation.
I have VCL FastReport 4.12.15
Thanks,
Hardee Mahoney
Washington, DC
I am brand new to FastReports and think I need some basic understanding.
I would like to implement a report that will have a bunch of static text and data fields over several pages. At least one of the data fields will be an image and there will be at least one chart. I can put in the static text in the report designer.
But the data are all scalars or items in an array. They are not columns and rows in a database. These data elements will all be generated in the program that needs to write the report. So first the program generates the results data. Then for the next step in the program I want to pass the data elements to the report (plus an image and generate a chart) and then finally preview and print it.
I do not understand how to pass data to the report or reference data in the program from the report, without the data being rows and columns in a DBX, IBX, ADO or BDE database.
Could someone give an idea how such a report will be set up. Perhaps you can point me to an appropriate sample, or to where to look in the documentation.
I have VCL FastReport 4.12.15
Thanks,
Hardee Mahoney
Washington, DC
Comments
Thanks. I've been working on understanding how I can create report variables and referencing those variables to set text values for Memo objects on the report. I guess this is an acceptable technique. Now I am playing with making bands and pages visible and not visible.
Hardee
Washington, DC