migration: DataSets problems

edited 12:05AM in FastReport 3.0
I try to migrate reports using frReport.SaveToFR3File(frReport.FileName);
It works,but:
1. the imported datasets are not activated. I must go in Report-Data-SelectReportdatasets and to check them manually. Since I have to migrate hunderts of reports it couldn`t be a solution.
2.(Because no dataset checked during the migration) No data available will be shown in Data page. No one band is connected to data. I should assign datasets manually band after band.
3. Datasets are placed onto Dialogform. Memos in 3 are Memo.text="[DialogForm.Query1."Nachname"], but that is not functioning, I should erase DialogForm. in order to see the memo working.

OK, the last change I can do in XML file. But I couldn't identify where in the file the datasets are set to active. I suppose this is in Propdata of Dataset, but how can I change it?

Comments

  • edited 12:05AM
    FR2-FR3 converter does not convert used datasets (because in the FR2 there was no such feature). So you should manually enable all needed datasets in the FR3 designer.
  • ;) I also have hundred report to migrate.

    I have tried the convertion utility to migrate the most simple DB report

    The 2.54 report consist of a master databand with a field on It.
    I use the TFrDBDataSet on the same form as the TFrReport to access the Sql data.

    After converting the .frf to .fr3 an opening it with a TFrxReport, I am never able to select any dataset.

    What should I do ? do I miss something ?

    Dominique Van Roie

  • I finally found how to select the dataset but neither the converting tool or SaveToFr3 seems to work properly.

    1) the TFrxMemoView is no more a child of the master data band
    2) All components loose their dataset property
    3) THe dataset name change : in Fr2 it is the name of the dataset attached to the FrDBDataSet while in fr3 it is FrDBDataSet.Name ...

    Do I miss something ?

    Thanks
    Dominique Van Roie




    so

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.