Array with 2 values

suvidha
Member Posts: 117
How do i use array with 2 values in NAV?
0
Answers
-
suvidha wrote:How do i use array with 2 values in NAV?
I didn't get you.. :shock: need some example..Sandeep Prajapati
Technical Consultant, MS Dynamics NAV0 -
i mean Array[j].
i wanna store 2 values in an array.0 -
Dimensions property of variable should be in X;Y (array 3x2 is then 3;2)
Use as
Array[1][1] := 'VALUE'0 -
Thank you..
but how do i assign values into them?
can u plz give example??0 -
An n-dimensonal array can be imlplemented using one-dimension array.
For a 2-dimension array, try to implement following
Array1[j] is equivalent to Array2[i*j];Sandeep Prajapati
Technical Consultant, MS Dynamics NAV0 -
Sandeep Prajapati wrote:An n-dimensonal array can be imlplemented using one-dimension array.
For a 2-dimension array, try to implement following
Array1[j] is equivalent to Array2[i*j];
ka malik....kaise hain0 -
Sandeep Prajapati wrote:An n-dimensonal array can be imlplemented using one-dimension array.
For a 2-dimension array, try to implement following
Array1[j] is equivalent to Array2[i*j];
:shock: :shock:
it's not true!
array[i*j] means that element [3][2] will overwrite element [2][3]...
btw...you CAN create multidimensional arrays in nav (arrays or arraies? :oops: )0 -
is there any standard object using multidimensional array??0
-
Do you doesn't understand it how to use an array with more than one dimension :?:
Take a look in Form 223 Resource Statistics
RegardsDo you make it right, it works too!0 -
ThankQ..........0
-
As far as I remember, Navision can use up to 10 dimensions with a maximum of 1.000.000 (or 1.000.000.000) elements.
The variable-definition is as follows : In the Dimensions-property you have to define the dimensions as follows : N or N;M or N;M;O ....
To reference an element, you do as follows:
arrayElement[n] or arrayElement[n,m] or arrayElement[n,m,o].Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Belias wrote:Sandeep Prajapati wrote:An n-dimensonal array can be imlplemented using one-dimension array.
For a 2-dimension array, try to implement following
Array1[j] is equivalent to Array2[i*j];
:shock: :shock:
it's not true!
array[i*j] means that element [3][2] will overwrite element [2][3]...
btw...you CAN create multidimensional arrays in nav (arrays or arraies? :oops: )
Belias is correct , ... Array1[j] is not equivalent to Array2[i*j];[/quote].. It was a mistake.
Suppose we have defined an Array1[m,n].... then referencing [i,j]th element in the array by implementing Array2[(i-1)*n + j)].
what I mean is Array1[i,j] is equivalent to Array2[(i-1)*n + j]
and true, we CAN create multidimensional arrays 8) in nav (the default one already in NAV)... O:)Sandeep Prajapati
Technical Consultant, MS Dynamics NAV0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions