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

Report Find Text issue

edited June 2006 in General
Hi,

When I previewed a report in Native mode, I clicked on Search icon and
entered a text in the Find box then clicked on Find Text, and I got a
'Floating point division by zero' error. I couldn't track down the cause of
the error in my code, does anyone know what could have caused this error to
happen? Is it my code or something I forgot to set correctly in RB? My other
reports don't have this issue. I'm using RB 7.01 with D7.

Thank you.

Bill

Comments

  • edited June 2006

    - RB 7.04 was the last produced version for RB 7. Send an email request to
    info@digital-metaphors.com and include your serial number and registration
    info. That will likely fix your issue.

    - If you still have an issue, download a trial version of current release,
    RB 10.03 for D7, and perform the same test.



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2006
    Thank you, RB 7.04 did seem to fix the problem.

    Bill

  • edited June 2006
    Hi,

    After I upgraded to RB v7.04, it seems to fix the FindText issue. But now
    I'm running into a couple other strange issues:

    1. I tried to build one of my reports and I'm getting an error in IB.pas
    located in $(DELPHI)\Lib. But it compiled ok.
    2. I also got an 'List Index Out of Bound (0)' error when I tried running
    another report, which built ok by the way, the error happened in
    IBDatabase.pas (also in $(DELPHI)\Lib) when the DM is initially being
    created.

    Do you know what could possibly cause the errors?

    These 2 errors don't happen to all my reports. I have a couple reports that
    don't have either problems, but I can't find any differences between them.
    I'm using Interbase Express v7.2. Does RB v7.04 require any particular
    version of Interbase Express? The same code build and run fine on my other
    machine that has the old RB v7.01.

    Thank you.

    Bill

  • edited June 2006

    -------------------------------------------------
    Article: Resolving IBExpress compatibility Issues
    -------------------------------------------------

    The ReportBuilder Query Tools support the Interbase Express data access
    components via a DADE plug-in. The plug-in consists of the daIBExpress.dcu
    unit and the rbIBE7x.bpl package. (Note: the '7x' is replaced by 76 for
    Delphi 6, 77 for Delphi 7, etc).

    The rbIBE7X.bpl package is compatible with the version of InterBase Express
    that ships with Delphi. Updated versions of InterBase Express may require
    that this package be recompiled.


    Compiling the ReportBuilder DADE Package for InterBase Express
    --------------------------------------------------------------

    1. The ReportBuilder DADE source files for InterBase Express are located in
    the ..\RBuilder\Source directory.

    a. daIBExpress.pas - source code to data view class
    b. rbIBE76.dpk - source package that contains the daIBExpress.pas unit

    2. Copy the following files to your ..\RBuilder\Lib directory:

    - daIBExpress.*
    - rbIBE7x.*

    3. Access the Delphi Environment Options dialog, by selecting the Tools |
    Environment Options from the Delphi menu. Select the Library tab.

    4. Set the BPL and DCP directories to the ..RBuilder\Lib directory. If you
    have installed ReportBuilder into the default directory you can set these
    directories to:

    $(DELPHI)\RBuilder\Lib

    5. Select File | Open from the Delphi menu. In the Open dialog locate the
    'Files of type' drop-down list near the bottom. Select the 'Delphi package
    (*.dpk)' item in this list. Now only package files will be displayed.

    6. Navigate to the ..\RBuilder\Lib directory.

    7. Open the rbIBE7x.dpk package and click the compile button.

    8. Launch the Windows Explorer and examine the files in the ..RBuilder\Lib
    directory. The daIBExpress and rbIBE7x .dcu, .dcp, and .bpl files should be
    stamped with the current date and time. If this is not the case then the
    files have not been regenerated, or your BPL or DCP directory setting is not
    correct and the files have been generated into some other directory.

    9. Access the Delphi Environment Options dialog and clear the BPL and DCP
    directory settings.

    10. Copy the .bpl file to the Windows\System32 directory.



    Installing ReportBuilder DADE for InterBase Express
    ----------------------------------------------------

    1. To use the InterBase Express DataView at run time, add daIBExpress to the
    'uses' clause of the form that contains the TppDesigner component.

    2. To use the InterBase Express DataView at design time, install rbIBE7x.bpl
    into the Delphi IDE.



    ------------------------------------------------------------
    Tech Support mailto:support@digital-metaphors.com
    Digital Metaphors http://www.digital-metaphors.com




    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2006
    Thank you, unfortunately, after doing what below says, the same issues
    remain. I used to get a error when trying to install the package but now I
    don't so that means the bpl is working, but I'm still getting the same 2
    errors in the same reports. Any advice? Thank you.

    Bill

  • edited July 2006

    - the packages (.bpl) is used by the Delphi IDE

    - when you compile your Delphi project, the .dcu's are used. Use Windows
    Explorer to search for copies of the daIBExpress.dcu (check RBuilder\Lib and
    RBuilder\Source and search your computer). Check the timestamp and make sure
    reflects the time of your re-compilation of the daIBExpress.pas unit.





    Best regards,

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