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.
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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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