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

Cannot go back one page after editing form. Goes to first rows' details page instead of the row I'm working on.

After i edit a form and click submit, instead of going Back one page, it jumps to the first row entrys page.

For Instance, 1st screen (BrowseScreen1) has many employee names listed alphabetically. I select the employee i want to see details on and click edit. After i edit the fields and click submit, it updates the form BUT it jumps to the first Entry (Name that starts with A) instead of the employee i am working on. 

 

My Editfom OnSuccess says Back(), but i'm not sure whats wrong.  I want to go back to the employee i was just editing instead of back to beginning.

 

ChrisHoover7684_0-1630960913186.png

 

 

On my BrowseGallry1 (1st Page) for reference. 

ChrisHoover7684_1-1630961071877.png

 

 

6 REPLIES 6
Rutu1455
Regular Visitor

hello,

Instead of Back() use Navigate('Screenname') on Onsuccess property of the edit form to get back to the pervious page...

I hope it will help you 

thumps up if its useful.

Still goes back to first employee that start with letter A.

 

 

SayaliKumbhar23
Frequent Visitor

Hi,

Rather than using the back() you can use navigate(your screen name); Apply navigate function on OnSelect property.
so you will get your solution.

Ramole
Resident Rockstar
Resident Rockstar

Hi @ChrisHoover7684 

 

You can use variable if you need to see the record you've navigated before , or else can you share a bit more information like how you come to the form screen, your currant code used

 

Thank you
If this post helps, then please consider Accept it as the solution to help the others and consider giving it a "Thumbs Up."
shivam38
Advocate I
Advocate I

Hey  @ChrisHoover7684  

you can use this formula on the button on select property from where you are submitting the data .

SubmitForm(form name); Back();

this formula first submit the data into database and then take you to the previous screen.

v-jefferni
Community Support
Community Support

Hi @ChrisHoover7684 ,

 

Under normal circumstance using Back() would return to the screen that was most recently displayed (at the place when you navigate away). I tested several times with this function but have found nothing that could lead the result in your case.

 

Please turn on the "keep recently visited screens in memory" option in studio settings and try again:

vjefferni_0-1631521444686.png

 

If the issue persists, please consider raise a ticket on the support page:

https://powerapps.microsoft.com/en-us/support/

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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