cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dtowsey
Helper I
Helper I

Date Field Edits

I have an edit form with date fields that are connected to an on prem SQL Server. THe fields start off as NULL in the database until someone edits the field within the form and presses the save button. THis works with no problem. When the user deletes the date from the field to save it without a date the save botton appears to not work and the record stays populated with the original date. Is there a way to save  the date record back to NULL?

1 ACCEPTED SOLUTION

Accepted Solutions
v-micsh-msft
Community Support
Community Support

Hi @dtowsey,

 

If here you mean to save specific field to NULL value in PowerApps, then currently this is not available.

There is an idea submitted on this:

Function to produce blank value

 

Besides, there is a function that could produce NULL value, but currently it 

"only works for local collections. We know that many data sources support blank (NULL) values and We are working to lift this limitation."

You may take a look at the function reference below for more details:

Blank function reference

 

Further, if you would like to remove the whole record, please consider take use of the Remove () function:

Remove and RemoveIf functions in PowerApps

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-micsh-msft
Community Support
Community Support

Hi @dtowsey,

 

If here you mean to save specific field to NULL value in PowerApps, then currently this is not available.

There is an idea submitted on this:

Function to produce blank value

 

Besides, there is a function that could produce NULL value, but currently it 

"only works for local collections. We know that many data sources support blank (NULL) values and We are working to lift this limitation."

You may take a look at the function reference below for more details:

Blank function reference

 

Further, if you would like to remove the whole record, please consider take use of the Remove () function:

Remove and RemoveIf functions in PowerApps

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,308)