web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Multiple Edit forms cr...
Power Apps
Unanswered

Multiple Edit forms creating new record in SP

(0) ShareShare
ReportReport
Posted on by 10

So I have a really big form that I'm automating which I've split into four

 

  • Form1
  • Form1_1
  • Form1_2
  • Form1_3

 

I used Patch to try and update the records but instead it creates a new one:

 

Errors('Supplier Evaluations',Patch('Supplier Evaluations', Defaults('Supplier Evaluations'), Form1.Updates, Form1_1.Updates, Form1_2.Updates, Form1_3.Updates))

 

 

I tried replacing the defaults with LookUp but I can't seem to make it to work. (ABN is like the unique identifier). 

Set(lookupRecord, LookUp('Supplier Evaluations',ABN = DataCardValue3.Text));

 

If(
IsBlank(lookupRecord),
Patch('Supplier Evaluations', Defaults('Supplier Evaluations'), Form1.Updates, Form1_1.Updates, Form1_2.Updates, Form1_3.Updates)
);

Patch('Supplier Evaluations', lookupRecord, Form1.Updates, Form1_1.Updates, Form1_2.Updates, Form1_3.Updates)



Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @alexesprtu29 

    You are losing all of the functionality of your EditForm when you try to use Patch to put the forms together.

    Please take a look over this video on how to split your forms properly.

    It will solve all of the issues you are having.

     

    I hope this is helpful for you.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard