Merge dictionary - purpose ?

edited 2:10PM 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 2:10PM
    This functionality is used very rarely; it merges an existing dictionary with the new one.
  • edited 2:10PM
    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 2:10PM
    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

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.