cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

2 edit form in the same screen

Good afternoon,

 

I am newbie in this matters but designing a small app for the company i work.

 

I am struggling to get this working though. I have been reading some threads to try to find a solution but don't seem to be doing it correctly.

 

I have the following situation. I have a screen with two forms , where i want the user to enter new record in both.  This forms are linked to 2 different sharepoint lists

 

When i tested out with one it works nicely, but as soon as i added the second one i don't seem to estabish connection. 

 

is there a way to make this work ? I have attached below the screen while working in the app as soon as i run it , it gives me the error no item to display. I am assuming something is not refresh or saying to the form to connect, but any help would be greatly appreciated!

running mode.JPGpowerappmode.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Piero
Advocate I
Advocate I

If the two forms are to be filled in everytime the user navigates to that screen, you would just need to put the following in the "OnVisible" property of that screen*:

 

NewForm(Name_of_form_on_the_left); NewForm(Name_of_form_on_the_right).

 

*of course you can put the code above in the "OnSelect" property of a button if you'd rather use a button.

View solution in original post

3 REPLIES 3
Piero
Advocate I
Advocate I

If the two forms are to be filled in everytime the user navigates to that screen, you would just need to put the following in the "OnVisible" property of that screen*:

 

NewForm(Name_of_form_on_the_left); NewForm(Name_of_form_on_the_right).

 

*of course you can put the code above in the "OnSelect" property of a button if you'd rather use a button.

View solution in original post

Anonymous
Not applicable

Thank you! that sorted it nicely.

 

I would imagine that submitting I will follow the same rule in the button Onselect "SubmitForm(Form5); SubmitForm(Form4)" ?

Correct! 🙂

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,789)