As part of the OnVisible property of a screen i am loading data into a Collection.
Then i use a Gallery to edit the Collection.
Finally i use the following formula to update a SQL table using the data from the Collection:
ForAll(TempCollect1,Patch(First(Filter('[dbo].[TurnaroundTimeProductMap]', Id=TTPMId)),{ProductQuantity:TTPMProductQuantity}))
The formula shows no error but the data in the SQL table is not updated. If i go File then Colllections, i can see that the Collection is being updated. Does anyone have any ideas?