cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
thereturnofmm
New Member

Patch function not submitting the data

Hi

I'm creating an app that has multiple forms and pages. I use patch function to submit the data to sharepoint list. However, there are some columns and fields that the data are not submitted to sharepoint list when user click submit. Here is my patch function

 

Patch('List2',varFormData,Form1.Updates,Form2.Updates,Form3.Updates,Form4.Updates,Form5.Updates,Form6.Updates,Form14.Updates,Form8.Updates,Form9.Updates,Form11.Updates,Form12.Updates,Form11_1.Updates);

varFormData is Defalulst('List2')

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @thereturnofmm ,

Are there any common fields on multiple forms ? Anything changed in a "later" form will overwrite a field changed earlier.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

View solution in original post

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @thereturnofmm ,

Are there any common fields on multiple forms ? Anything changed in a "later" form will overwrite a field changed earlier.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

There are common fields in multiple form. However each form are not used at the same time. The form will be used depends on user's answers in the previous form

@thereturnofmm ,

Therefore it will do just as I said - the last update on the field will be the one that works (if you change the same field on multiple forms)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

 I think the problem is what you said that it overwrites itself. Thank you!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,126)