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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

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

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,138)