Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Problem upgrading from Delphi 5 Ent / RB 5.5 to Delphi 6 Ent / RB 6

edited September 2002 in General
I just got a new machine and upgraded to Delphi 6 Enterprise and RB 6.

On trying to compile an existing Delphi program which worked OK under Delphi
5 Enterprise/ Reportbuilder 5.5 before, I get a Delphi 6 compiler error
message:

"[Fatal Error] holdreports.pas(9): File not found: 'iEditCha.dcu'"

and the compiler is pointing at the unit "ppChrtDP" in the USES statement.

As this program is totally a reporting / data analysis program I'd be
grateful for any pointers before I start trying to fix it. I had TChart
Pro v4 installed with Delphi 5, so I don't know if this is related -
certainly the problem seems to be with ReportBuilder side?

TIA

Barry
--
Dr Barry Clark
Medical Education Unit
Wolfson Medical Building
University of Glasgow
Glasgow G12 8QQ
Tel: 0141-330-4248
Email: b.clark@clinmed.gla.ac.uk

Comments

  • edited September 2002
    The problem is that RB 6 and prior require the teechart UI units when
    building with source(pas/dcu). You can build with runtime packages to get
    around the error. In Delphi 5, you probably had a full version of teechart
    5.01 or 5.02 installed. You can purchase the full version of teehart 5.02
    for Delphi 6 and it will begin working again. You can also choose to upgrade
    to RB 7, and you will not have to purchase the full version of teechart to
    be able to print reports at runtime with teecharts in the reports. We
    changed RB 7 to not require the teechart UI units when they weren't needed
    at runtime. If you do want to use the teechart UI in the runtime designer,
    then you do have to purchase the full version of teechart to be able to
    compile with the source.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.