LoadFromStream: cannot find class Datasets

Hi,

when I try to run TfrxSubreport.Page.LoadFromStream I always run into the exception: "raised exception class EClassNotFound with message Class Datasets not found". Attached you can find the zipped fr3-files that I use to dynamically create a report.

  • ProjectProtocol.fr3 -> inherits from ReportBasic.fr3
  • ReportProjectProtocol_Group.fr3 -> will be dynamically loaded as a subreport
  • ReportProjectProtocol_Series.fr3 -> will be dynamically loaded as a subreport
  • Resulting-Report.fr3 -> is the resulting report after dynamically load all parts together

The data will be collected using the callback methods of TfrxUserDataSets.

Also in the attached zip-file there are screenshots where you can see how the FastReport Designer shows the resulting files when I load it manually.

Looking forward that anybody can contact me, so that I can learn more on using FastReport correctly and errorless.

Many Thanks for your support,

Adrian



Comments

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.