hi, i'm Arthur. I'm a support technician, i create an app for classing different intervention in different area and all work fine but
i have some trouble with the if command, i don't know how to use it.
My situation.
I have a form with a drop-down. this drop-down is link to a SharePoint (multi-select column)
I want to use a if condition for update a variable.
The if condition must be something like this :
if "value" is find in "value drop down" update the variable with number 1.
i do this
If(DataCardValue8_2.Selected.Value;"07:00";Set(var7h;1));;
If(DataCardValue8_2.Selected.Value;"08:00";Set(var8h;1));;
If(DataCardValue8_2.Selected.Value;"09:00";Set(var9h;1));;
If(DataCardValue8_2.Selected.Value;"10:00";Set(var10h;1));;
If(DataCardValue8_2.Selected.Value;"11:00";Set(var11h;1));;
If(DataCardValue8_2.Selected.Value;"12:00";Set(var12h;1));;
If(DataCardValue8_2.Selected.Value;"13:00";Set(var13h;1));;
If(DataCardValue8_2.Selected.Value;"14:00";Set(var14h;1));;
If(DataCardValue8_2.Selected.Value;"15:00";Set(var15h;1));;
If(DataCardValue8_2.Selected.Value;"16:00";Set(var16h;1));;
If(DataCardValue8_2.Selected.Value;"17:00";Set(var17h;1));;
If(DataCardValue8_2.Selected.Value;"18:00";Set(var18h;1));;
If(DataCardValue8_2.Selected.Value;"19:00";Set(var19h;1));;
But in fact he don't make an if, the code update all the variable. He don't compare value i think.
Do you Have an idea ?
every help is welcome
( i need this exact information to create a bar chart)