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

Error on compile

edited October 2003 in General
Hi

I have a report that is based on a rather large table. The report has
several programs/functions in it. These all compile okay in the first
instance. It appears that as the report gets larger these suddenly do not
compile any longer. If I go into one of these fucntions and make any small
change it results in an access violation on the compile. We are using
Delphi4. Any ideas as to why this may happen would be greatly appreciated.

Thanks
Julie

Comments

  • edited October 2003
    Hi Julie,

    This could be due to a number of items. As a test, try commenting out your
    event handlers and see if you still receive the AV error. Since this is a
    large report, be sure you have the correct memory requirements to support
    such a report. If you are still having an issue, please feel free to send
    an example of your app to us for further testing.
    support@digital-metaphors.com

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2003
    Hi Nico

    Thanks for this, I tried commenting out several events, changed small items
    and recompiled these functions. Four times the compile succeeded and then
    the fifth time I got the access violation. It is a very large app and this
    particular table is being built in the background, making it difficult to
    isolate and send a sample. However we have a lot of reports and this is the
    first time I have seen this happening.

    Julie.

  • edited October 2003
    Hi Julie,

    Which version of ReportBuilder/Delphi are you using? Are you using RAP for
    your event handlers?

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2003
    Hi

    We are currently using Report Builder Enterprise 5 with Delphi 4. Yes we are
    using RAP.

    Thanks
    Julie

  • edited October 2003
    Hi Julie,

    I noticed in one of your previous posts that you are creating a table in the
    background. This could be what is causing the AV error as all versions of
    RB before 7.0 were not thread safe. Try disabling the background table
    creation and see if that helps. Also, if you have access to a version of
    Delphi 5, 6, or 7, you might try downloading a trial edition of RB 7.03
    Enterprise and testing with that. RB 7.03 is completely thread safe.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.