Merge dictionary - purpose ?

edited 11:25PM in FastReport .NET
What is the purpose of the Merge dictonary.
It seems that you could load more then one dictonary and that the datasources or merged...?

I tried a few things but the behavior of Merge is the same as Load.
(version 1.3.34)

Comments

  • edited 11:25PM
    This functionality is used very rarely; it merges an existing dictionary with the new one.
  • edited 11:25PM
    I play with it but it only Loads a Dictionary over the existing one.

    Should it not Add the new Dictionary to the already existing Dictionary and remove duplicate datasource columns ?

    When Merge works as expected you can create a lot of smaller Dictoinaries and merge the ones you need for the report.
    For example; a Customer.frd, Order.frd, OrderDetails.frd, etc.
    For report of Customer labels you need only Customer.frd.
    For a Ordertotals report you need Customer.frd and Order.frd.
    For a Orderconfirmation you all the three frd's.
    Of course you have to set the relations manually.
    AlexTZ wrote: »
    This functionality is used very rarely; it merges an existing dictionary with the new one.
  • edited 11:25PM
    Actually you don't need to merge dictionaries. Each report contains its own dictionary stored in a report file. All you need is to register all datasources (using report.RegisterData method) and select datasources used in a report (in the Data|Choose Report Data... menu).

Leave a Comment