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

Comments

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.