Use of frx Components in project with multiple reports.

Hi All, I'm totally new to Fast Reports and want to ask do I need to use frxReport and frxDBdataset components etc for each report in a project having many reports?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:15PM
    Unless you are building composite reports you could use 1 tfrxreport component only.
    the number of tfrxdbdataset components will depend upon how you are connecting to data
    take a look at the main demo you will find the frxdbdatasets in the data module.
  • edited 2:15PM
    gordk wrote: »
    Unless you are building composite reports you could use 1 tfrxreport component only.
    the number of tfrxdbdataset components will depend upon how you are connecting to data
    take a look at the main demo you will find the frxdbdatasets in the data module.
    Thank you for your reply Gordk. No I am not wanting to build a composite report. These are individual reports to be printed at different times.
  • edited 2:15PM
    If the report is embedded in the frxReport component then you need one frxReport for each report.

    If you use LoadFromFile() or LoadFromStream() then you could use one frxReport only, but each loading operation will destroy what was loaded before (unless it is a composite report) including the embedded report, and including any variables.

    If you use LoadFromFile() or LoadFromStream() you will need a method to create the report's layout so that it can be saved to file or stream. How and where that is done is up to you.

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.