I seem to be having an inconsistent issue.
I have a HomeScreen that has FormA which pulls from List1 that has employee info.
I have an EditScreen which has FormB and FormC (not visible).
When I click on an employee from FormA it goes to the EditScreen and populates both FormB and FormC.
FormB updates (Patch) List1 and FormC adds (SubmitForm) a new record to List2.
I have a single Submit button inside FormB with Patch(List1) and SubmitForm(FormC), where FormC has Datasource=List2.
It worked once or twice, but now only List1 is getting updated when I click Submit. List2 isn't getting a new record at all.
The reason I have two lists is because List1 is updating employee data where List2 is acting as an activity log.
Solved! Go to Solution.
Hi @IPC_ahaas ,
Try putting the "SubmitForm" code before the "Patch" and let's see.
Indeed, you can use Patch to create a new record, you will need to reference all needed columns in order for it to work. Happy to know you got it working!
Kindly accept as a solution to close the thread. Thanks
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.
The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.
We are excited to announce a new way to share your ideas for Power Apps!