cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: Date Field Edits

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
Highlighted
Community Support
Community Support

Re: Date Field Edits

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
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,378)