Multi-Thread Applications with FastReports

edited 5:18PM in FastReport 4.0
Hi together,

I build an application, that must be able to create reports in the foreground and also in the background. The background is triggered by misc. events and print and/or export reports. The foreground should be able to use the same reports for viewing and printing and/or exporting. The problem is, that the reports are depending from global datasources...

One Idea is to protect the access to the report by a semaphore. Is anybody experienced with this kind of problem?

Alex

Comments

  • gpigpi
    edited July 2011
    Did you try to set UseGlobalDataSetList to False?

    EngineOptions.UseGlobalDataSetList (added for multi-thread applications) - set it to False if you don't want use Global DataSet list(use Report.EnabledDataSet.Add() to add dataset in local list)

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.