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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch to SQL Server an...
Power Apps
Unanswered

Patch to SQL Server and replace value with NULL

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, 

I have a gallery that has values, but sometimes you want to remove those values and have NULL/Blank(). I'm not allowed to save/patch this to my SQL source. 
I have seen workaround with turning on Formula-level error management enabled. However this does not seem to work for me and in addition it creates a whole mess, when all my Text input fields that are values not have an error thrown saying "We cannot convert the value to a number because the value is not a string (or empty string). 
Have seen workaround for this aswell with Iferror. But still not getting my gallery to write NULL value to replace a previous value. 
Has anyone solved this succesfully as this is a bigg issue for me and would like to not go through my whole app and add iferror on every single text input with values.

 

Thanks!

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    I have tried with varchar column and it accepted Blank() to patch as Null value.

     

    Please check if you have set Default of the TextInputs as Blank()

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard