Indexing error-report

idontknowidontknow Member Posts: 66
When i am running a report i am getting this error "The indexing 1025 in the array is outside of the permitted range".

This error is for a report which prints the serial nos of the items mentioned on the sales line.I have 7200 serial items to select.I have defined the global variable array with maximum limit 1024 in size.

Any solution for this?

Comments

  • kapamaroukapamarou Member Posts: 1,152
    Increase the array size?
  • DaveTDaveT Member Posts: 1,039
    Hi,

    the maximum number of elements in an array variable 1,000,000 (single dimension)

    You could also consider a temporary table.
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • idontknowidontknow Member Posts: 66
    kapamarou wrote:
    Increase the array size?

    I have declared the array size to maximum length
  • idontknowidontknow Member Posts: 66
    DaveT wrote:
    Hi,

    the maximum number of elements in an array variable 1,000,000 (single dimension)

    You could also consider a temporary table.

    what does that maximum number of elements mean and how to use that temporary variable.

    I have mentioned the error in quotes.Please give me a solution.I am new to navision.
  • kapamaroukapamarou Member Posts: 1,152
    Press properties on your variable and see the dimensions. That's the size of the array...
  • idontknowidontknow Member Posts: 66
    kapamarou wrote:
    Press properties on your variable and see the dimensions. That's the size of the array...

    Kapamrou,very very thank you.....my problem got solved.
Sign In or Register to comment.