cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AlesonITC
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

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

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (43,844)