
Announcements
Good Morning
I have a flat table structure with my columns in it.
I then have a canvas app that has multiple screens and forms and galleries in it.
What is happening is that when I patch, I create 20to 30 new records and I am confused as to what is wrong here
Below is a part of my code
Patch function will only updates the record if you provide a matching key. In your code, it doesnt look like you are providing a matching key. All you are doing is multiple patches (potentially on the same table) with out any matching record, which essentially creates new records.
you have to tell it to which record it has to update and with what values. Check the examples given in MS Docs. Patch function in Power Apps (contains video) - Power Apps | Microsoft Docs