cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

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.

0 REPLIES 0

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (27,976)