I declared an array of text with dimension 1. I want to store 30 values, but when I run my report, I get this error:
The indexing <num> in the array is outside of the permitted range,
where <num> was 23, and after deleting 23 it was 22, and after deleting 21..30 it was 12, and after changing some code it became 2. Does anyone what this error exactly says and how I should prevent it?
0
Comments
Now I get the following error when I choose any number over 99:
:!: The indexing 101 in the array is outside of the permitted range.
What do I need to add or change? I saw the response to this original post but do not understand dimension? What do I change or add and where?
Thanks.
RIS Plus, LLC
FYI for anyone who does not know - You can set the dimension of an array variable by viewing C/AL Globals selecting your variable and pressing SHIFT+F4. Since it was hard to find this answer for myself.
Works perfectly now!
Thanks.