If you look at the various Sample Apps, they seem to be evenly split between using SubmitForm to update the datasource and Patch to update a DataSource.
So what is the difference between SubmitForm and Patch and under what circumstances should you use either ?
Just to confuse people even more, there is then the Update (and UpdateIf) command. When should that be used over the SubmitFormn and the Patch command.
Go to Solution.
The documentation has a good discussion about Patch - generally used for more complex updates. When you need more control.
Submit form is used to update the contents of an edit form in a straight forward way.
View solution in original post
I did some testing/investigation on whether there were any performance differences - you can see it here: https://youtu.be/LKcuPI0dxEg
Having made a few apps now, I tend to use Patch more than SubmitForm. It is more flexible and to me, it is simply clearer what is going on and gives that little bit more control.
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.