Recent

Author Topic: EListError: List index(3) out of bounds  (Read 2620 times)

flaza

  • New Member
  • *
  • Posts: 48
EListError: List index(3) out of bounds
« on: August 14, 2014, 09:00:40 pm »
Hi.
I have a report with a Master data and a Detail data band. The datacollection for the Master data band has 3 records and each record has a number of records in the second datacollection. For the first collection I use the frUserdataset1 component, for the second collection I use a different Dataset component.
When I start the report, all goes well. But when I start the report a second time, I get the EListError message. When I start the report the third time, all goes well again, when I start the fourth time, I get the EListError message.
In the samen application I have a report with just one Master data band. I can start that report many times without any problem.
The error comes on the call report.ShowReport or report.ShowPreparedReport.
Anyone any idee?

flaza

  • New Member
  • *
  • Posts: 48
Re: EListError: List index(3) out of bounds
« Reply #1 on: August 18, 2014, 06:54:24 pm »
Hi.
I found the problem and the answer.
I use 2 counters and forgot a routine to set them to the value 0 at the start of the print.