***LATEST UPDATE***
Ok, so I tried a couple of things.
First things firts, when I entered the code for the add button you provided it hit me with an Invalid Argument error, expecting a boolean. What I did to fix it was the following:
Refresh(Ferramentas);;
If(
Slider2_1.Value > 0;
UpdateIf(
Ferramentas;
ThisItem.'Qtd.' >= 0; /* The fix to the argument error was adding ">=0" /*
{'Qtd.': Value(ThisItem.'Qtd.') + Slider2_1.Value}
)
);;
If(
Slider2_1.Value > 0;
Navigate(
TelaÊxito;
ScreenTransition.Cover
)
);;
Reset(Slider2_1)
So after doing this it worked, no ETAG Mismatch, but (and it is a huge but), now, whenever I try to add or subtract anything on my sharepoint list, the following happens:
Lets create a hypothetical situation to better illustrate
1- I manually set all sharepoint 'Qtd.' values to 10;
2- I click the Subtract button of ThisItem with the Slider2.Value set to 5. It works fine, ThisItem 'Qtd.' value is now 5;
3- I click the Add button of the same ThisItem with the Slider2_1.Value set to 10. Now ALL SharePoint items have their 'Qtd.' set to 20 (Initial 10 + Slider2.Value)
4-Now if I click the Subtract button again, it works fine;
5- Now clicking the Add button again on any item, sets ALL SharePoint values to 20+Slider2_1.Value, regardless of the value the item had;
So in sum
-I add a value to an item, all SP items get set to the same number (Number X);
-I subtract a value to an item, only that item subtracts to Number X;
-I add a value again to any item, it takes Number X and adds the slider value to all SP items;
-Now all items have Number Y value;
-I subtract again from any item, only given item subtracts from Number X instead of Number Y;
-I add again, all SP items are now Number Y + Value, so lets call it Number Z;
-Subtract again, selected item now subtracts to Number Y instead of Number Z;
...and so on...
Anyone ever had this error? It's really making me crack my head, I would appreciate any help!
Thanks!