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 / Forms Overwrite, Updat...
Power Apps
Answered

Forms Overwrite, Update, New writing back to SQL Database

(0) ShareShare
ReportReport
Posted on by 144

Hi there

 

I need to create a few forms for employee information (Colour coded questions below)

 

1. New employee

2. Change to existing employee info 

3. Overwrite existing info as error on inputting details

 

The gallery is integrated in to power BI and will be writing back to the SQL Table in the DB

 

1. Add a New employee record (i've built a form for this) so this is OK

 

2. A form will submit a change and then it will insert  a new row in to the table. I've already done this and a trigger has been created in SQL to insert it as a new row.

 

3. Create another form to overwrite data if they have made a mistake.  This is where I am having an issue because in my mind it is the same as a change (see number 2). If someone changes a record or adds a new one and then they realise they have made a mistake, I want them to be able to go back and overwrite the error without it being seen as a change and a new row being inserted

 

How can I tell the app to overwrite the existing data without it thinking its a change.

 

Any help would be really appreciated

 

Many thanks

Karen

Categories:
I have the same question (0)
  • Verified answer
    StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @KarenF 

     

    In general, write-back functionality is to an existing record. Writeback means we are trying to update some data to an existing employee/record. We may have an audit history but creating a new record could be eliminated.

     

    Currently, we are doing this write-back functionality using Azure SQL and Synapse for some analytics purposes.

     

    Here is the blog post about write-back functionality. 

  • CU16090615-0 Profile Picture
    144 on at

    Thanks for your reply. Much appreciated 

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard