Andy..
16th August 2001, 15:09
I've created a new table to store some orderline reference info. Key field is order/item/pono.

I've created a new multi-occ session to add this reference info. It seemed to work fine, until I had more lines than would fit on one page!

eg. if I can see 10 order lines, I add info for first 9 with no problems. When I get to line 10 and press TAB, I get error
index 11 of of dims [1] 10

I presume this is something to do with moving to line 11, I've run in debug and checked _index1 values in use to make sure they do not have some crazy value - but they check out OK. I also check the domains used in the table and they seem OK.

I guess there could be 2 solutions; 1 is to stop Baan moving to line 11 and just cycle to line 1 again. 2 is to make it work properly with no error!

I've not come across this problem before - any ideas
:confused:

HAMASCH
24th October 2001, 18:29
Are you using any array in the form or the script?

it seems that you using an array like
domain tcmcs.double qana(10)
and you want to write in qana(11).

Please send more details so that I can help you

HAMASCH

NPRao
18th April 2002, 01:16
more info from the baan support site -

Index out Dims: How to diagnose and correct.
Author M Neeley Creation Date: 18 Sep 2001 Alternate ID:
Solution No: 155976 Last Modified: 29 Jan 2002 Status: Published
Product: ttB40c Sub Product: Session: Varrious
Package: tt Version: B40 Release: c
Solution Type: KR:Question

Symptom information
Index out of dims

Solution description
VERSION(S):
All Versions

SITUATION IDENTIFIED IN:
When processing data in Baan, a BW error box appears giving the index out of dims message (as example):

Fatal Error : Index out of Dims
Can not continue in <session code or object>

ATTACHMENTS:
n/a


SOLUTION DESCRIPTION:
Index out of dims is generally caused by an overflow of table field(s). In the database table array, there are no open addresses availble. This may be caused by a imported change to a table via patch, or by a data overflow situation.

Most times, this issue is corrected by loading the latest object(s) for the session in error.

- In order to identify the object with error , please create "dbgobj" output and check the output while the error is being displayed on the screen. The last object in the file would be giving this error.
EXAMPLE(S):
Here is an example case of index out of dims:
long myvar[10]

myvar[11]=5 =>> this gives an index out of dims since 11>10
myvar[0]=5 =>> also gives an error since Baan arrays always begin at 1.


WORK-AROUND:
If the problem occurs after a new object is installed on the system, you will need to re-introduce the older object so that the process can continue (if possible).