Hi Everyone,
Is that possible to store Multi dimensional of a record type?
I have a requirement where i need to store like below
a[1][1]=2,
a[1][2]=3,
something lie this,With CDTs i see it is straight forward but when i am using with record type to save a[1][2]
it is showing below error
.
Am i missing anything?
Can someone please help me on this?
Discussion posts and replies are publicly visible
Hi Hema , Record Types uses "recordtype!" for indexing , Use Index function instead of hard coding. And it seems you are trying to save values at index "2" but length of array is "1"
Hi Venky,
I am not hard coding just as an example I am showing the way I need to store.
By index function we can get the value at a specific index but here I need to store the value at a specific index of multi dimensional array of record type
Sorry I forgot index only returns value . yeah try replacing [1] with record field reference it's working fine for me.
Yes this single dimnesion will work but if i want to store multiple list in the first index it is not working like a[1][1]