web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Updating rows in SQL d...
Power Apps
Unanswered

Updating rows in SQL database not working

(1) ShareShare
ReportReport
Posted on by 6

I have a PowerApp connected to an SQL database (in Azure). Showing the data in my app works fine. Now I want to make changes to the data within the app, and send the update command back to my database. But when I click the button with my 'Submit Form' command, nothing happens. 

It seems to be related to my source, because when I insert an 'Edit form' to my app, this Edit form doesn't have all the capabilities it should have. For one it is missing the 'Update' option. When I connect to a different source (SharePoint list) and add an Edit form, it works fine.

 

I have thought of two reasons for this: 

  1. It involves a premium connector. However, I now have a premium license and it still doesn’t work.
  2. It has something to do with the data source. Somehow PowerApps isn’t allowed to communicate back to my SQL database?!

 

Does anybody have any thoughts on this?

Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    Hi @NatP 

    Can you clarify that you've defined a primary key on your source table? If there's no primary key, Power Apps won't be able to update the record.

  • NatP Profile Picture
    6 on at

    Hi @timl . That has actually fixed my problem! Feel like a bit of an ass that is was something so simple and I didn't manage to solve it myself. But a very happy ass, at least.  😉 Many thanks for you quick reply and help!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard