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

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Power Apps Grid Write Back Access on SQL Server

(0) ShareShare
ReportReport
Posted on by 3

I want to edit values in a column in an SQL Table through Power Apps. I have developed an App for this. Its Working fine and submits details successfully through Patch. But the changes are not written back in SQL table. I'm using SQL Server Management Studio 20.1 and have connected it with Power Apps through On Premises Gateway. The connection was successful. But I'm unable to write back despite my App is working fine. A help on this would be highly appreciated. Thanks. 

I have the same question (0)
  • timl Profile Picture
    35,805 Super User 2025 Season 2 on at
    Re: Power Apps Grid Write Back Access on SQL Server

    Hi @MarkBolger 

    >>  Its Working fine and submits details successfully through Patch. But the changes are not written back in SQL table.

    Can you clarify what you mean by this? Are you saying that you're able to create a new record by calling Patch, but calling Patch to subsequently edit a record fails? 

     

    If you could paste your Patch formula, that would help. 

  • MarkBolger Profile Picture
    3 on at
    Re: Power Apps Grid Write Back Access on SQL Server

    I have created App successfully but I want to edit records in SQL database which is on SQL Server. Power Apps Submits record successfully, but SQL database is not updated accordingly. 

    My Patch Formula is,

    Patch
        Sales, 
        ShowColumns(
            ColGridUpdates,
            Sr_No, Name, Quantity
            )
            );
            Notify
    ("Changes Saved Successfully",NotificationType.Success, 4000);
    Clear(ColGridUpdates)



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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 766 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 419 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 235

Last 30 days Overall leaderboard