Jump to content
  • 0

How to prevent Update button from creating duplicate records?




I discovered a huge issue while I was testing my app today. I have a lot of tabular reports that lead to the details page and I want to give my users the option to update records. Whenever I click the update button, it updates the existing record and creates a new one. I want to update the existing record only without creating a new one. Any idea on how to prevent this?


For example, I changed the status of the test user (Jessica Smith) from Active to Inactive and then again to Active. As you can see, for some reason, the system created two additional records below. Does anyone have any idea why this is happening? I can't remember it was happening before although I did updates.


Many thanks,


Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @Aleksandra, this should not be the behavior of a record update. Do you have any triggered action on the table you are using for the report that runs on update? that's usually the first possible reason why updating a record on a DataPage creates a new one as well. I hope this helps.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...