Home End User

RB 6.03 to RB 7.0 for D5: How to convert reports stored in DB?

edited September 2002 in End User
Hello!

First of all, thank You DM for supporting D5 in RB 7 !!!

My Problem is:

I have a DB-based End-User-Solution.
The Reports stored in the DB are created with RB 6.03.
Now I have recompiled my App with RB7 (for D5).
When I try to open a Report from the DB (with the ReportExplorer), I get the
Error EReadError , ppReport1.OnPreviewFormCreate: Invalid Value for
Proberty.
I can not open DB-stored Reports.

How can I convert DB-stored Reports ?

Non-DB-based Reports are working fine.

Regards
Wolfgang Bierl
Strike.SoftwareSolutions

Comments

  • edited September 2002
    When a template is loaded, you need to make sure that there is an event
    handler waiting for it (for this event that the report was saved with) on
    the form that it is being loaded onto. If it can't reestablish the event
    handler you may receive this error. See the templates thread in the tech
    tips newsgroup for an article describing lost event handlers.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited September 2002
    Hi!

    There was the event handler that handles the PreviewForm.Windowstate which
    is not nessesary since RB7.0.
    Now I put there a Dummy-Action.
    It Works, thank You!

    Regards
    Wolfgang Bierl
    Strike.SoftwareSolutions
This discussion has been closed.