Cross-tab issue - List index out of bounds
Hi all.
I'm building av cross-tab report, using a DBCrossView connected to a TfrxIBXQuery containing fields custno;itemgroup;itemno;year;amount, ordered by 1,2,3,4.
The DBCossView has 3 row levels (custno, itemgroup, itemno) and 1 column level (year).
My issue is that in most cases I get 'List index out of bounds(10)' when I execute the report, and I can't figure out what is going wrong. Sometimes it works like expected, and then again (without making any changes at all, or just minor changes) I get the error again.
If I remove the DBCrossView from my report, and inserts a MasterData band with the same fields on it, the report runs correct, so I'm petty shure it has to do with the CrossView somehow.
Any hints anyone?
Petter
I'm building av cross-tab report, using a DBCrossView connected to a TfrxIBXQuery containing fields custno;itemgroup;itemno;year;amount, ordered by 1,2,3,4.
The DBCossView has 3 row levels (custno, itemgroup, itemno) and 1 column level (year).
My issue is that in most cases I get 'List index out of bounds(10)' when I execute the report, and I can't figure out what is going wrong. Sometimes it works like expected, and then again (without making any changes at all, or just minor changes) I get the error again.
If I remove the DBCrossView from my report, and inserts a MasterData band with the same fields on it, the report runs correct, so I'm petty shure it has to do with the CrossView somehow.
Any hints anyone?
Petter
Comments