Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Wrong record displays in Form

Sometimes, when you select an entry in a Gallery which takes you to another screen with Form and Gallery controls where Item is set to Gallery.Selected, PowerApps will display the wrong record in the related controls.  My observation is that that a fraction of a second later it changes to the correct record, and this occurs on the 2nd time or more (not the first time you open the app).  In other words, you select a record, submit or cancel, go back to the gallery screen and select another record, and the previous record appears for a second or less (maybe more with a poor internet connection).   The issue might be related to the timing of the click/tap in the Gallery (has the screen fully refreshed).


Furthermore, users are complaining that they are getting to the point where they fill out the form, and the wrong record is updated (not sure how to verify this).


Any ideas on keeping this from happening?  One, never seeing the previous record for that short time, and two, keeping the wrong record from being updated (is this even possible?)

Super User
Super User

Have you tried using the ResetForm() function on the OnSelect of the gallery before navigating the user to the screen with the form? Does that help?

If nothing works, you can always add a loading page so the users don't see the previous record, but I would like to not have to resort to this option.

Let me know if this helps and we can take it further.

If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Hardit Bhatia

Helpful resources

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 (4,707)