All right. We are trying to patch several registers to update the inventory with a single button. So far, no good.
Have tried something like this:
ForAll(
Gallery1_5.AllItems;
Patch(
'SP_List';
LookUp('SP_List'; Gallery1_5.Selected.Título = Título);
{
Quantidade:Value(Gallery1_5.Selected.Quantidade) - TextInput2.Text
}
)
)
/*Patch('SP_List';
ForAll(
Gallery1_5.AllItems;
{
Quantidade:Value(Gallery1_5.Selected.Quantidade) - TextInput2.Text
}
)
)*/
Is ForAll the best approach? Quantidade is the quantity. Don't mind the semicolon, different language.


Thank you very much