Report.EnabledDataSets, FastReport does not use the referenced TfrxDBDataset

I have an application with a generic TDataModule which contains a set of TDataset and TfrxDataset used by several TForm and Reports.

At runtime, each open Form use its own instance of the generic TDataModule (sometimes via another TDataModule). Similarly each Report use its own instance of the generic TDataModule.

Methods "Report.EngineOptions.UseGlobalDataSetList: = false;" and "Report.EnabledDataSets" are used to reference the instances of TfrxDBDataset used by the Report object.

But when report execute, the TfrxMasterData does not point to the TfrxDBDataset object reference by "Report.EnabledDataSets". It points to an instance of TDataModule generic used by another open window.

How is this possible ? >

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.