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

List index out of bounds

edited April 2007 in General
Hi

When using a TppDesignerWindow and opening the Query wizard , we get an
Index out of bounds.
Any idea where this one comes from?

Eric

Comments

  • edited April 2007
    Hi Eric,

    Which version of ReportBuilder/Delphi are you using? Do you receive this
    error at designtime or runtime? Please provide the exact steps you take to
    reproduce the error and I'll try to recreate it on my machine.

    --
    Regards,

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

    Best Regards,

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

    We use packages with our application.
    because we found out that some initialization sections where not fired we
    did call the Initializepackage method during startup, this caused the
    problem in RB (7.04)


  • edited April 2007
    Hi Eric,

    Have you tried this in the latest version of ReportBuilder? Although this
    is not a known issue, it could have been something that was fixed for a
    later version.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2007
    - SysUtils.LoadPackage calls SysUtils.InitializePackage, your code should
    never call it.

    - I have never seen a case in which unit Initializations did not fire,
    unless an exception occurs in a prior Initialization section, in which case
    you usually get Runtime Error 216

    - Add Delphi\Lib\Debug to the library path and you can trace the LoadPackage
    and InitalizePackage, and Initializations.

    - All unit initialization should fire a single time. If the RB units fire
    multiple times, it will cause errors.

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

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.