i know how to use the Array 1 dimension , by going to properties of field and put the number of dimension in dimension ., but is there anythin g to define 2,2 or 3, 4 3rows, 4 columns in Navision
Have a look through the Application Developer Guide (w1w1adg.pdf) on the install DVD or in the download section
From the guide:
Example
Assume that Bar is an array variable of data type Date with the dimensions 2x3x4. Then Bar has 24
elements.
To index the first element, use Bar[1,1,1]. To index the last element, use Bar[2,3,4].
So for the definition see copy from C/Side Online help, section example:
Dimensions
Use this property to enter the dimensions of a variable, that is to create a multi-dimensional variable - an array.
Applies to
Variables
Settings
Enter the dimensions as a semicolon-separated list of integers, where each number defines the number of elements in that dimension. The maximum number of dimensions is 10 and the total number of elements in all dimensions is 1,000,000.
Example
To define an integer array with dimensions 3 x 3 x 4, start by creating an integer variable (for example called A.) Then, in the property sheet, set the Dimensions property to 3;3;4.
To access the elements in the array, use a syntax like this:
A[2][3][2]
Note that indexing starts from 1 (not 0 as in some programming languages).