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

Comments

  • gpigpi
    edited 8:10PM
    Try to use TfrxUserDataset or report's variables or TfrxReport.OnGetValue event
  • gpi wrote: »
    Try to use TfrxUserDataset or report's variables or TfrxReport.OnGetValue event


    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

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.