Jump to content
  • 0

How to prevent Update button from creating duplicate records?


Aleksandra

Question

Hello,

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?

image.thumb.png.9d6b81d009235f6e69915f2206ebe0d6.png

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,

Aleksandra

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.

https://howto.caspio.com/triggered-actions/triggered-actions-2/

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.

Guest
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.

Loading...
×
×
  • Create New...