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

Upgrade to 6.02 Problem

edited October 2001 in General
I have just installed 6.02 and have a slight problem.

One of my projects includes the file ppExpFrm.pas which is 99.9% your
ppExpFrm.pas but with minor mods to suit my users. When I compile the
project I get

[Fatal Error] rbEndUsr.pas(76): Unit ppRptExp was compiled with a different
version of ppExpFrm.TppReportExplorerForm


How do I overcome this? I have tried the instructions for removing a
corrupt Installation contained in the tech-tips and re-installed the system
but to no avail.

Is there a way of referencing my custom ppExpFrm in lieu of your default?

I feel sure I have had this before but am at a loss as to how to overcome
the problem.

Thanks in advance.


Philip L Jackson

Comments

  • edited October 2001
    In order to replace the form, you need to register yours in the
    initialization section of your new unit ppExpFrm.pas. This is the register
    call for our form in the ppRptExp.pas

    initialization

    ppRegisterForm(TppCustomReportExplorer, TppReportExplorerForm);

    finalization

    ppUnRegisterForm(TppCustomReportExplorer);


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.