cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnjohn123
Super User
Super User

Is there any harm if i Set variable multiple times

I have a general question, if i can set a variable at multiple places:-

 

for example when OnSelect a button >> Set(VarA,true)

 

OnSuccess of the form >> Ser (VarA,false)

 

is this fine? or the variable should be set one time and used many?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User
Super User

@johnjohn123 

No, there's no harm in setting the same variable in multiple places.

It's common practice to do this.

View solution in original post

1 REPLY 1
timl
Super User
Super User

@johnjohn123 

No, there's no harm in setting the same variable in multiple places.

It's common practice to do this.

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (2,630)