I am trying to use the Patch command to update the current record in the SharePointForm.OnSuccess action. If I do something like this :
It works fine. However If I update the VAT, and Nominal fields to get values from a list box, such as :
This does not work and the VAT and Nominal fields are not updated. If I go back and edit the record and save it again, the values are then updated!?
I have also done a test and changed the OnSuccess to just output the results of the ListBoxNominal and it is outputting the expected value :
Notify("Result = " & ListBoxNominal.Selected.Code,NotificationType.Information);
Can someone help me to get the Patch statement working using the results from the selected item in the list box ?
Go to Solution.
Well after searching some more on these forums I found my answer :
If I add the following line before the Patch command the update then works :
View solution in original post
Keep up to date with current events and community announcements in the Power Apps community.
Check out the latest Community Blog from the community!