Multi-Thread Applications with FastReports

edited 9:40PM 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