cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dennisb88
Responsive Resident
Responsive Resident

Reset data/time column to blank

Hi all,

 

I've a date/time column (dataverse) and I want to reset it to blank/default date.

 

When I try to do the follow:

I have a button to reset the date/time column:

Set(datepicker3_blank,true)

Now I set the defaultdate property of my datepicker to:

If(datepicker3_blank = true,Blank(),   Gallery1.Selected.startdate)

On my second button I have the follow patch:

Patch(
    Milestones, 
    LookUp(Milestones,activity = Gallery1.Selected.activity),
    {startdate: datepicker3.Selecteddate}
)

 

After the patch, my record is NOT set to blank.

How/or what need I do to set my date/time value in dataverse to blank?

 

Regards,

Dennis

1 ACCEPTED SOLUTION

Accepted Solutions
AJ_Z
Super User
Super User

Just wondering does the app react differently when Formula Level Error Management is turned on and is it on?

You find it by going to File then Settings and then Upcoming Features.

AJ_Z_0-1643378887974.png

 

Also if that works please accept it as the solution if it does not work I just want to check is the datepicker blank when the default asks it to be blank 🙂

 



Signature:


If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !
Link to the Power Platform Professionals United Kingdom User Group:

https://powerusers.microsoft.com/t5/Power-Platform-Professionals/gh-p/PowerPlatformProfessionalsUnit...

View solution in original post

3 REPLIES 3
AJ_Z
Super User
Super User

Just wondering does the app react differently when Formula Level Error Management is turned on and is it on?

You find it by going to File then Settings and then Upcoming Features.

AJ_Z_0-1643378887974.png

 

Also if that works please accept it as the solution if it does not work I just want to check is the datepicker blank when the default asks it to be blank 🙂

 



Signature:


If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !
Link to the Power Platform Professionals United Kingdom User Group:

https://powerusers.microsoft.com/t5/Power-Platform-Professionals/gh-p/PowerPlatformProfessionalsUnit...

dennisb88
Responsive Resident
Responsive Resident

@AJ_Z ,

 

Hero! After switching on, it's working fine!

Thanks!

Happy to help wherever I can. Have a Wonderful Day! 🌞😎



Signature:


If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !
Link to the Power Platform Professionals United Kingdom User Group:

https://powerusers.microsoft.com/t5/Power-Platform-Professionals/gh-p/PowerPlatformProfessionalsUnit...

Helpful resources

Top Solution Authors
Top Kudoed Authors
Users online (3,630)