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

Find Text error

edited June 2008 in End User
We're using Delphi 2007 and RB Enterprise 10.08, although as far as I can
tell the error is a part of 10.07 as well.

While previewing a report in the Report Designer at run-time, using the
"Find Text" feature, and returning to the "Design" tab, a "list out of
bounds" error is generated. This seems to happen only when text is actually
located.

It seem to come from:

procedure TppTextSearchEngine.HighlightPage(aPage: TppPage);

Thanks,

Leah

Comments

  • edited June 2008
    Hi Leah,

    I am unable to recreate this error on my machine. Below are the steps I
    took. Please let me know how I can alter them to recreate the error.

    1. Created a new project, added a report, designer, and button to a form.
    2. Added the Customers table to the report and placed a DBText in the
    detail band.
    3. Ran the designer, tabbed to the preview window. Searched for some text
    which it found then tabbed back to the design window.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2008

    RB 10.08 contains a fix for a text search issue that occured in 10.07,
    please see the RB 10.08 Release.doc for a list of bug fixes.

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

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2008
    Hi Nico,

    As far as i can tell, this is the crucial property. For me, it's set like
    that by default, and not changed at runtime:

    FReport.TextSearchSettings.SearchFromCurrentPage := True;

    Leah


  • edited June 2008
    Sorry, i forgot to include that this is on 10.08.

    More specifically, I tested this by adding an OnLoadEnd event to your RAP
    project, and set the following:

    FReport.TextSearchSettings.Enabled := True;
    FReport.TextSearchSettings.Visible := True;
    FReport.TextSearchSettings.SearchFromCurrentPage := True;

    Leah

  • edited June 2008
    Hi Leah,

    I'm sorry but I'm still unable to recreate this error. Toggling the
    SearchFromCurrentPage property does not seem to make a difference. Are you
    able to see this with a minimal example?

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2008
    I added four lines to your RAP demo and recreated it. I have no more time
    right now to work on it.

    Leah


  • edited June 2008
    Okay,
    I was able to replicate the error using a minimal example.

    Do you want my project?

    Leah


  • edited June 2008
    Hi Leah,

    Yes, please send the example in .zip format to support@digital-metaphors.com
    and I'll take a look at it for you.

    --
    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.