web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Editing existing entry...
Power Apps
Unanswered

Editing existing entry in gallery - error

(0) ShareShare
ReportReport
Posted on by 121

Hi all, I am having issues with editing an existing entry in a gallery in my app.

I have set up the edit button which navigates to an edit screen where you can make the changes to the entry you wish and then tick to confirm.

But when I click to confirm it does not change the entry, it creates a new one and does not use even save this entry with the information I just entered and selected.

An example for how it is currently working

 

The entries in the viewing screen

jolebe09_0-1694081921264.png

 

The item I have selected to edit

jolebe09_1-1694081921265.png

The item in the edit screen where I have made the change (week number changed to 37)

jolebe09_2-1694081921266.png

 

I click the tick to confirm my changes - I have to click the button twice otherwise nothing happens

This is the entry in the viewing screen now

jolebe09_3-1694081921267.png

As you can see, it has not updated my edits it has kept the original and made a new entry

The A is the original entry and the B the new entry.

It did not update the week in the details and has also not carried through other info, such as the day which you can see.

 

What I would like to be happening is there to be just the one entry and either replace the existing entry or create the new entry and delete the old one automatically.

 

Here is what I currently have for each page in items for the formulas etc.

Viewing screen gallery "items"

jolebe09_4-1694081921268.png

Viewing entry screen "items"

jolebe09_5-1694081921268.png

Viewing entry screen "data source"

jolebe09_6-1694081921269.png

Edit button "OnSelect"

jolebe09_7-1694081921269.png

Editing entry screen "items"

jolebe09_8-1694081921270.png

Editing entry screen "data source"

jolebe09_9-1694081921270.png

Editing entry screen tick button "OnSelect"

jolebe09_10-1694081921271.png

 

Please let me know if any further information/context is required.

Thank you in advance.

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,382 Most Valuable Professional on at

    Hi @jolebe09 ,

    In the last item, Concatenate joins two string values together, not two functions - try

    SubmitForm(EditForm1);
    NewForm(EditForm1)

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • jolebe09 Profile Picture
    121 on at

    Hi @WarrenBelz ,

    Thanks for the response.

    I've made this change and I'm afraid the issue persists.

    jolebe09_0-1694083118062.png

    I went to edit the wk 52 and changed it to wk 51, but as you can see this entry on the right is the new one it created and the original is still there.

  • WarrenBelz Profile Picture
    156,382 Most Valuable Professional on at

    @jolebe09 ,

    Try on the Item of your Edit Form

    LookUp(
     HPU_AOR,
     ID = BrowseGallery1.Selected.ID
    )

    Also before you assume it has not saved, have a look in your SharePoint list directly - this may be a refreshing issue.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • jolebe09 Profile Picture
    121 on at

    Hi @WarrenBelz 

    Apologies I am getting this issue

    jolebe09_0-1694084824245.png

     

     I Have checked my Excel sheet, which is where the data is stored (not sure if this makes a difference) and the issue is the same in there

     

  • WarrenBelz Profile Picture
    156,382 Most Valuable Professional on at

    @jolebe09 ,

    It is always good to mention your data source in a post. Excel is a terrible data source and this is not the last thing you will encounter that should work and simply does not. If you have access to SharePoint lists, I suggest you consider transitioning to them and you will find most of these issues will go away.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard