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

Re: Help with if statement

Hi @WarrenBelz 

Yes Thats correct, once vWait is true, the button should become disabled, and no it would not affect anything else... as the button is only clickable to Reviewer4, but from the code, i understood it as though there 2 conditions to be met for the function to kick in?

Highlighted
Post Prodigy
Post Prodigy

Re: Help with if statement

@WarrenBelz 

I've just had a thought,

if put the following on the Visible property of the button, then only this user will see the button:

VarUser = Reviewer4

Then on the DisplayMode of the button I can simply put:

 

vWait, DisplayMode.Disabled,DisplayMode.Edit

 

Your thoughts?

View solution in original post

Highlighted
Super User III
Super User III

Re: Help with if statement

Hi @Lefty ,

Without seeing the rest of your logic, yes this should work. My previous thought probably would as well as once vWait became true (on the first click), the DisplayMode of the button would be Disabled

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,720)