Multiple reports and user data sets..

edited 12:57PM in FastReport 4.0
Hi,

I have designed a report that uses two user data sets.

My run-time application creates multiple copies of this report, and instances two 2 copies of the user data sets for each of those reports (each user dataset receives different data for each report).

However, I'm finding that all reports use the same "first" set of user data set's

I've tried everything from clearing each reports datasets and manually assigning them, to making sure each user data set has a unique name and changing the report's datasets to the same name.. They always ignore this..

Any ideas?

James

Comments

  • gpigpi
    edited 12:57PM
    Try to set TfrxReport.EngineOptions.UseGlobalDataSetList to False and use TfrxReport.EnabledDataSet.Add() to add dataset in local list for each report

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.