List index out of bounds (0)
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
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
This discussion has been closed.
Comments
What is happening in the event handlers?
Can you send us a demo report to support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
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