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 Platform Community / Forums / Power Apps / Power Apps Grid Write ...
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. 

Categories:
I have the same question (0)
  • timl Profile Picture
    36,319 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

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 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard