cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AlesonITC
Level: Powered On

Update data on SQL with form submit

Hi, I have got an SQL table with this columns for example:

 

ID

Month

Price1

Price2

 

Where pk is ID + Month.

Then I got 200 rows with data. When I tap or click in some row, and press "edit" button, it navigates to another screen with a form with the data of the row tapped or clicked loaded. The next step would be change "Price1" or "Price2" and submit the form to update the row. 

 

When I do it, it says that there are a registry with this pk because it tries to insert a new row with the data I wrote instead of modify the existent row.

 

Anyone knows how can I update the row instead of insert a new one with the editform?

 

Thx a lot. Regards.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,756)