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

Problem with olds report with inheritance

edited August 2013 in General
Hello

I have a problem with some reports I designed in Delphi 6 and then I
migrated to Delphi XE2.
(Excuse my english, I am using machine translator).

I received many error messages about problems with DesignLayer. I checked
the Help, but I could not clear my all doubts. The reports I have worked in
general, after manually deleting all lines which mentions the DesignLayer,
but sometimes when I change the base again report back problems. How I can
solve finish that?



The errors I received at different times are these:

A field or method named ppDesignLayers1 already exists when I open base
report.


when I close the base report without touching anything.

Error creating form: Can not inherit from 'FMyBase'. It contains a component
with a blank name property when I open a child report.

When I check the DFM file in an external editor I find this:

object TppDesignLayers
end
ppParameterList1 object: TppParameterList
end

I have removed those lines manually and after that I get this other error
when trying to open a child report:

Error creating form: Access violation at adress 10E9C1D1 in module
'rbCL1416.bpl'. Read of address 00000000

Thanks in advance

Tomas Benitez
Comite Olimpico Peruano

PD. I asked a question about this theme some time ago.

This is the email:

--------------------------------------------------------------------------------------------------------------------------------------
Tomas,

Make sure you open the ancestor (base forms) first, this will allow the
report to create the default design layer (foreground). Then save the
ancestor form. Then I think opening the descendants will work.

I also recommend updating to RB 14.08, which is the latest release. If you
need download info, please send your serial number and registration details
to info@ and request it. Also please configure your newsgroup to allow
news.digital-metaphors.com as a safe sender so our emails are not routed to
spam/junk.


You can use support@ for tech support questions, we also have a NNTP
newsgroups hosted at news.digital-metaphors.com. We are a small team, so the
same engineers answers the questions whether posted to support@ or
newsgroups, we just ask that question only be posted to a single destination
so we don't have two engineers researching the same question :)



Comments

  • edited August 2013
    I has read this in other message:

    I has read this in other new :

    There is patch available for RB 14.05 that can load the old reports and
    automatically correct them at load time

    May be this patch can help me?

    Thanks

    Tomas Benitez
    COP
  • edited August 2013
    Tomas,

    1. Please configure your newsreader to post using your full name. Currently
    when you post messages to the newsgroup the 'from' reads 'ReportBuilder'.
    The 'from' should read 'Tomas Benitez'

    2. Check the Designer Help | About to determine the version you have
    installed. If you are using version 14.08, then it contains any patches made
    to prior versions such as 14.05. If you are using an earlier 14.x version,
    please update and retest.

    3. If you have an issue with RB 14.08, please create a simple example and in
    zip format to support@


    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited August 2013
    Hi Nard


    Thank you very much for your quick response.

    I'm using version 14.07. Right now I'm in the middle of something that
    prevents me from moving to another version, (well I'm afraid I may have some
    other problem).

    But as soon as I can I will install 14.07 version as you advise me and I'll
    let you know what happens.

    It's the first time I use this newsreader I hope now my name appears there
    where needed.



    Tomas Benitez
This discussion has been closed.