FR4 from FR3.2.5
I have used Fast Report 3.2.5 in my program. I decide upgrade Fast Report 4. So, I install FR4 and rebuild my program.
When I run, I get an error "Invalid File Format".
I use Delphi 7, FIBPlus and report designs are in a blob field. (not .fr3 file).
How can I solve this problem?
Thank you
When I run, I get an error "Invalid File Format".
I use Delphi 7, FIBPlus and report designs are in a blob field. (not .fr3 file).
How can I solve this problem?
Thank you
Comments
Get that stream and load a tstringlist with it (tstringlist.loadfromstream)
Save it to a file (.txt, fr3, whatever), tstringlist.savetofile
Open with notepad and examine it.
For example try to identify some properties you don't need for the frxreport root element, get rid of them, and try to load the report without these properties.
Or simply create a fresh new report with a designer of the latest version you have, save it (empty even) into a .fr3.
That file has all the headers and is in the proper format. Try comparing it to the one saved from the blob (which is in the old version of FR), see what is different, copy and paste from one to the other until it works.