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