cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bbsin
Post Prodigy
Post Prodigy

Anyone can advise?? How to update - patch back date picker ???

hi

 

I need to update changes on the date picker when selected.. but it is not patching back to SP list.

 

Patch('list',ThisRecord,{Description: TextInputDes.Text, Date:DatePicker1.SelectedDate }))

 

Thanks.

2 REPLIES 2
RandyHayes
Super User
Super User

@bbsin 

Please consider changing your Formula to the following:

UpdateIf('list', ID=ThisRecord.ID, {Description: TextInputDes.Text, Date:DatePicker1.SelectedDate }))

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Hi @RandyHayes

 

Thank you for your response

 

I have a question, this syntax does work but ThisRecord,ID..

 

When I edit and patch one duplicate record and submit, it changes all the rest of the same duplicated records too?

10 May - Des 1

10 May - Des 2 - need to change to 9 May

10 May - Des 3 - need to change to 8 Apr

 

when I input 9 May and Des May - all three changes become 9 May and Des May.

 

I just want to changes the selected row of records that is been edited.  not the rest of the records

Can you kindly advise?  Thanks.

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (4,506)