Skip to content

Update last submitted record in power apps

In this post, we will take a step-by-step look at how to update a field once the form is submitted successfully.

Once your form is submitted, FormName.LastSubmit.ID will retrieve the ID of last submitted item. We have to add below formula on the on-success property of the form.

Patch(
    ListName,
    LookUp(
        ListName,
        IDField = FormName.LastSubmit.ID
    ),
    {
FieldName=”XYZ”
         }
    }
);

If you liked the post, please share it with others 🙂

Please feel free to comment if you are stuck in any step

Thank you for reading 🙂

Published inPower Apps Canvas