Hi,
I have to update my list value by incrementing 1.
But its not getting updated.
Set(RP,LookUp(List,Field=Gallery.Selected.Field,People));
Patch(List,LookUp(List,Field=Gallery.Selected.Field),{People:RP+1});
But its not getting Increment in List
Thanks,
Dhinesh
@Dhinesh28R Is the global variable RP having a number set? What is the datatype of the People column?
@Dhinesh28R If Rp is blank it means that your LookUp is not returning any records. You'll have to sort that out.
@CNT In my List people column doesn't have any value means it's Blank correct.
People |
Set(RP, LookUp(List, Field=Gallery.Selected.Field, People));
Now RP is Blank correct.
If it is blank how to Increment + 1 value in People filed.
Thanks
@Dhinesh28R Change the Set to this,
With({varRP:LookUp(List,Field=Gallery.Selected.Field,People)},
Set(RP,If(IsBlank(varRP),1,varRP))
);