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.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

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