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 is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (43,602)