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

List index out of bounds (0)

edited October 2001 in General
I'm obviously missing something... but I can't seem to find my mistake. I'm
using Delphi 5 (upt pk 1) with Report Builder 6.01. I have several reports
running with no problem; however, I'm now working on a new report... a very
simple roster... just a simple one line per record type of list... no
calculations, no groups... just a simple list.

If I set the device to "Printer" everything prints as expected....however,
when I set the device to "screen" , the first page is displayed in the
preview form... but as soon as I move the mouse up to the top of the preview
form... to print or expand the screen, etc... I get the following error:

Project xxxx raised exception class EListError with message 'List index out
of bounds(0)'...

Any idea what I've done wrong? Thanks in advance for your help.

Joe Hutchins

Comments

  • edited October 2001
    Are you using a Crosstab component?

    What is happening in the event handlers?

    Can you send us a demo report to support@digital-metaphors.com


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited October 2001
    Jim,

    Thank you for your prompt response... I found the problem... and it had
    nothing to do with Report Builder.... I did a lot of cutting and pasting
    from another project... and goofed with the status bar I was using... (I
    didn't define 2 panels the onhint event required).... consequently the hints
    from the preview were triggering the error... sorry about that...

    Joe Hutchins

This discussion has been closed.