cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ogun_ustun
Helper III
Helper III

Click Cancel Button and Update Single Field of SP List

Dear All,

 

I am having a trouble regarding "when i click a cancel button i want a single field of SP list to be updated as "cancel" I did below formula on the screenshot click the solution on the net but outcome is negative.

 

Can you support me on this?

 

 

2020-05-09 17_46_43-Transport Order Creation Tool - Saved (Unpublished) - Power Apps.png

1 ACCEPTED SOLUTION

Accepted Solutions

I also asked for Datacarvalue33. If look at my formula I didn't use status twice in the formula. I used IDColumn. Can you replace the first status to an id field on your form? If you don't have it used the postal code if that is a unique field.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

5 REPLIES 5
eka24
Super User III
Super User III

Try

Patch(Datasource, First( Filter( Datasource, IDColumn= Textbox1.Text ) ), {Status: "cancel" } )

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Hi @eka24 

 

I guess i am doing something wrong on the formula. I wrote it as following but did not work2020-05-10 12_19_22-Transport Order Creation Tool - Saved (Unpublished) - Power Apps.png:

 

 

Can you show datacardvalue33. Also I can't see the error message. When you hover your mouse on the error (Red) what error message does it give

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

@eka24Hello as following:

 

2020-05-10 12_35_25-Transport Order Creation Tool - Saved (Unpublished) - Power Apps.png2020-05-10 12_38_32-Microsoft Edge.png

I also asked for Datacarvalue33. If look at my formula I didn't use status twice in the formula. I used IDColumn. Can you replace the first status to an id field on your form? If you don't have it used the postal code if that is a unique field.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

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