QRG7014

A field used as an index is not defined as numeric with no decimal positions, OR it is a named constant whose value is less than or equal to zero or greater than the number of elements in the array.

Define the index field as numeric with no decimal positions or, if the index is a named constant, with a value that is is greater than zero but less than or equal to the number of elements in the array. Recompile.