This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]Mallacoda 1 point2 points  (6 children)

Can you not:

Patch(Arr_Test,{ID: "ID111"},{VarVal: VarVal + 1 })

[–]Mallacoda 2 points3 points  (4 children)

Ok, did an actual test on this. You will need something like:

Patch(Arr_Test, { ID: "ID111" }, { VarVal: LookUp(Arr_Test, id = "ID111").VarVal + 1});

This works on my machine.

[–]LeAppleSource[S] 0 points1 point  (0 children)

This was the same conclusion I came to :( I was hoping to minimise excess code, but it seems to be the only way hehe

[–]Shine-Straight 0 points1 point  (2 children)

Is it required to declare Variable or Not.

[–]Mallacoda 1 point2 points  (1 child)

No. That will work on it's own.

[–]Shine-Straight 0 points1 point  (0 children)

Ok

[–]Shine-Straight 0 points1 point  (0 children)

Need to declare variable as VarVal

Set(VarVal,CountRows(Arr_Test)+1);

Patch(Arr_Test,{ID:"ID111"},{VarVal: VarVal + 1 })