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

AV in RB 7.04

edited November 2004 in General
I have all my reports in packages and they all seem to work fine except for
one report. Occasionally when closing this one report I get an AV in
vcl50.bpl. This report uses the following components:

TppDPTeeChart
TppSubReport
TppImage

and several of the following components.
TppDBText
TppDBCalc
TppVariable

How can I figure out what is causing this crash? It appears to happen more
on my customers machines than on mine. The only piece that is in this
report that is not in any of my other reports is the TppDPTeeChart
component.

Thanks in advance for any help,
Rodger Van Kirk

Comments

  • edited November 2004
    Hi Rodger,

    Are you able to stop on exceptions and trace the error? Which version of
    TeeChart are you using? This is more than likely the destroy bug in
    TeeChart that we discovered more than 3 years ago. Not to long ago, we
    decided to research it again and were able to recreate the bug without using
    ReportBuilder. This example has been sent to the Steema guys and they have
    ensured that the issue will be resolved for the next release of their
    product.

    As a side note, when we were researching this, we found that the destroy
    sequence was enhanced for TeeChart 7.0, fixing the bug in some cases. It
    may be worth while to try using TeeChart 7.0 and see if that helps, although
    I cannot guarentee that it will change anything.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2004
    Nico,

    I have not turned on debugging DCU's yet. I am going to try that today. I
    am using 7.0 version of TeeChart.
    Which release is their next release? 7.01?

    Rodger Van Kirk

  • edited November 2004
    Hi Rodger,

    Yes, I believe their next release will be TeeChart 7.01.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2004
    Nico,

    I tried turning on debug DCU's and I still got the same results the
    exception just tells me its in the vcl50.bpl. I will keep trying to get
    some more info on it. I think there is a beta 7.01 release I saw on their
    web site. Do you have any additional information about the problems you saw
    so that I can check and see if the fix is in that version?

    Thanks,
    Rodger


  • edited November 2004
    Hi Rodger,

    In this TeeChart, are you using a TeeFunction? This is what seemed to cause
    the error before, however the AV error you are receiving is not the error we
    got. You might perhaps re-compiling and re-installing the RB\TeeChart
    packages and see if that makes a difference. Also be sure you are not
    pointing to any old .dcu's or bpl's that could be causing this issue. If
    possible, please see if you can create a minimal example of a report that
    causes this error (i.e. an empty report with a chart on it connected to the
    DBDEMOS database) and send it in .zip format to
    support@digital-metaphors.com.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2004
    Nico,

    It appears Steema have release 7.01. I tried installing it and recompiling
    my RB packages and I keep getting the following error. "Unit ppChrt was
    compiled with a different version of Chart.TCustomChart" in file rbTC75.dpk

    Is there a patch for RB 7.04 using TeeChart 7.01?

    Thanks in advance,

    Rodger Van Kirk


  • edited December 2004
    Hi Rodger,

    Try pointing your library path toward the source directory and be sure there
    are no .dcu files present for ppChrt. This should rebuild the rb .dcu's
    with the new version of TeeChart.

    The next version of RB 9 will support TeeChart 7.01.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2004
    Nico,

    What is new in version 9?

    Rodger Van Kirk


  • edited December 2004
    Hi Rodger,

    Designer Enhancements
    ---------------------
    . new Object Inspector
    . new Undo/Redo support
    . new Workspace grid and snap-to-grid support
    . new Toolbar/ToolWindow architecture

    Report Component Library (RCL) Enhancements
    -------------------------------------------
    . new Rotated Text support, added Angle property for text controls
    . new Border property for all controls
    . new Anchor property enables control to reposition itself when the layout
    changes.
    . new PageBreak component for advanced control over pagination
    . enhanced RichText MailMerge to support display formats & multiple
    datapipelines
    . enhanced DBImage to support AutoSize
    . enhanced RCL architecture supports registering popup menu and design
    controls
    . new Report level events that enable parameter initialization and SQL
    modification.


    Report Output Enhancements
    --------------------------
    . new PDF export

    Data Access Enhancements
    ------------------------
    . new Guid Field Type support
    . new Guid Field Type data linking support

    Report Engine Enhancements
    ----------------------------
    . improved support for calculations performed in page footer
    . improved support for detecting layouts which result in infinite page
    generation.

    DADE Enhancements*
    ------------------
    . new Support for Guid Field Type Linking
    . new SQLBuilder object for runtime sql manipulation

    RAP Enhancements**
    ------------------
    . new Report level events that enable parameter initialization and SQL
    modification.
    . new SQLBuilder class to dynamically modify sql

    EndUser Guide Enhancements**
    ----------------------------
    . new Learning to RAP Guide


    * These features in ReportBuilder Professional and Enterprise only.
    ** These features in ReportBuilder Enterprise only.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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