FastReport report - Master - Detail links are not applied

Hi,

It worked for me. Changes I made:

Win10 -> Win11

FireDAC -> IBDAC. DevArt for Firebird 

FR v 6 -> frvcl_2022_2_10_all_pro    


Testing: All components are on the DataModule, which is not part of the project. OK

At runtime: I create all components dynamically and the owner is DataModule

.

In the case that I have a TDataSource, with which I create Master - Detail links between TQueries.

The problem is that these bindings do not apply. I can't figure out why. I suspect FR. I certainly don't want to have components stored on a DataModule.


 FqrFocOwner := TFDFunction.NewQry(dtmdBasic);

 FqrFocOwner.MasterSource := FdsFocFlat;

 FqrFocOwner.IndexFieldNames := IDOwF;

 FqrFocOwner.MasterFields := IDOwF;

.

 FfrdsFocOwner := TfrxDBDataset.Create(dtmdBasic);

 FfrdsFocOwner.UserName := 'FocOwner';

 FfrdsFocOwner.DataSet := FqrFocOwner;

 FdsFocOwner := TDataSource.Create(dtmdBasic);

 FdsFocOwner.DataSet := FqrFocOwner;

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.