Problems using FastReports with Threads

edited 1:56AM in FastReport 4.0
Hi!

I have some Problems using FastReports with Threads. Each ThreadObject has its own FastReport Components. And each of them his own IB_Connection and IB_Transaction.

The Settings for my FastReport are:
EngineOptions.UseGlobalDataSetList := False;
EngineOptions.EnableThreadSafe := True;
EngineOptions.DestroyForms := False;
EngineOptions.ReportThread := Thread;

The used reports are using the IB_Connection and IB_transction from the ThreadObject self.
If only one Thread is running and initialized all works fine. I create in my Transaction some data rows and print print it. I don't have problems.

BUT, if I create a further ThreadObject of the same it doesn't work anymore.
In this case the data rows will be generated but the FastReport Engine dont get them.
The result of TfrxEngine.CanShow is False. I think this is why the page isn't added.

Is there a problem with the SettingUseGlobalDataSetList? Or do you have any idea whats wrong?

thanks

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.