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

EAbstractError (TppReport.print) RBuilder 6.02 --> 7.02

edited April 2003 in General
After doing the upgrading from RBuilder 6.02 to 7.02 I get an EAbstractError
each time I try to call the function Print from TppReport...

Comments

  • edited April 2003
    Maybe the problem is solved when I open and close every report in the new
    reportbuilder (to make sure they're recompiled with the new version)... But
    then again... what to do with the end-user (custom made) reports? Is there
    any way to automize a process that "upgrades" all of the own personal
    reports from our customers?

  • edited April 2003
    but then again... is the problem (EAbstractError) solved after open & close
    in new reportbuilder???

  • edited April 2003
    This is where it finally throws the abstract error :
    FAutoSearchDialog.AssignAutoSearchFields(FAutoSearchFields); (in ppReport)

    and indeed, when I look at ppForms, I see the following abstract function :
    procedure AssignAutoSearchFields(aAutoSearchFields: TList); virtual;
    abstract;

    but then ... why did it work in RBuilder 6.02 and not anymore in RBuilder
    7.02, what do I have to do to make it work?


  • edited April 2003
    Luk,

    If you created a TppCustomAutoSearchDialog descendant then you need to
    implement these methods or you will receive an abstract error. Check out
    ppASDlg.pas for an example of implementing the abstract methods.

    The reason this is happening in 7.02 is that the feature is new.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2003
    thnx!
    It worked! I just needed to make a descendant and override the abstract
    functions.

This discussion has been closed.