fr2 to fr3

dschuchdschuch Dresden,Germany
edited 9:57AM in FastReport 3.0
Hi List,


this weekend I bought fr3 (Professional).
So I started to konvert my Project from fr2 to fr3 but there are some probs:

1. I use TeeChart 7. So I had to recompile FR. I used Recompile - tool but nothing happens.

1.1) Recompile - tool recompiles in fr3\LibDX. But Install also installs bpl-files in Windows\System. Because Windows will search there first the its not possible to install the recompiled fr3 (tee7) unless you have deleted the (old) bpl files in Windows\system.

1.2)I'm not sure (i'v modified .inc files manually) but it seems that thats wrong there:

//
TeeChart Pro <span style='color:red'>6</span> component
// If you have TeeChart <span style='color:red'>7</span>, uncomment the following line:
{$DEFINE TeeChart7}

{$IFDEF <span style='color:red'>TeeChart7</span>}
{$UNDEF TeeChartStd}
{$DEFINE <span style='color:red'>TeeChart</span>} <
should be <span style='color:green'>TeeChart7</span>
{$ENDIF}

2. Kombatibility:

2.1. in fr3 you have to use variables in the script with <>; in fr2 with []. Hm so I have to run throw all my scripts and exchange [] with <>. BUT In the Memocomponent you have to declare variables with []. So in the script with <> and in the memo with [].

2.2. It seems that if you save a fr2 report and reload it in fr3 the bands - datasource is lost. (I know that this worked fine in some beta - version of fr3). So you have to check every report and reassign the bands-datasource.

2.3 In fr2 the name of the bands-datasource was the name of the underlying dataset (not the name of the fast-reports db_interface component (TFrDBDataSet)). In fr3 the name of the bands-datasource is the name of TfrxDBDataSet.

thnx for awnser.

Daniel

Comments

  • edited 9:57AM
    1.1) recompile.exe puts the run-time bpls to the System folder.
    1.2) it's not an error, this line is not used in the FR3.0 (it was in 2.x).
    2) FR2 and FR3 are incompatible, you should check all converted reports manually because there is so many differences between 2.x and 3.0 architecture.

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.