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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (26,714)