fr 2.5x to fr 4.6 problem
Hi !
We have to upgrade one of our software written in BCB5 that have the FR 2.5 to the last version of FR, ie 4.6. i read the pinned topic about the conversion issues and im just not able to convert a report.
First of all, there is not a .hpp for the file "frx2xto30.pas". So i had to add the .pas to the project, compile it and then and the .hpp to the include section. That seems to work.
Second, i had the FR4 composants that are needed from FR2 reports in the same unit, compile the unit and its all good
Then, i opended fr4 designer, File->Open->Choose a report and the only thing i see is "Invalid file format"
So im thinking "will i be able to convert my files ?"
Some1 have an idea of what im doing wrong ?
We have to upgrade one of our software written in BCB5 that have the FR 2.5 to the last version of FR, ie 4.6. i read the pinned topic about the conversion issues and im just not able to convert a report.
First of all, there is not a .hpp for the file "frx2xto30.pas". So i had to add the .pas to the project, compile it and then and the .hpp to the include section. That seems to work.
Second, i had the FR4 composants that are needed from FR2 reports in the same unit, compile the unit and its all good
Then, i opended fr4 designer, File->Open->Choose a report and the only thing i see is "Invalid file format"
So im thinking "will i be able to convert my files ?"
Some1 have an idea of what im doing wrong ?
Comments
you must have a designer component included in your project
and you do it at run time not from the ide.
typically set the open and save dir paths of the designer component to
differnt folders.
make sure your report component's store in dfm prop is false
from a button click event.
frxreport1.designreport;
when designer opens click open when the report loads click save as.
Tip if you are using tfrdbdatasets add duplicate tfrxdbdatasets and set them
to the same datasets/sources before conversion, also if in your fr2.# report
your data fields had names like
table1."fieldname" set the username for the appropriate tfrxdbdataset
Another question ? if BCB5 bugs me, can i do the conversion with delphi ? cause about 95% of my reports have their queries inside the report, and im just using the database connection from the application.