I am making a procurement tracker and have a component that progresses through 19 steps.
Right now the varCurrentStep is just 1, 2 ,3 etc.
But I want to make it so that when an item moves to step 2, the varCurrentStep will move automatically. I was going to do this by changing the "Status" column in my table to "Step 2" and then doing an if statement (If Status = Step 2, set value to 2).
What is the syntax for this? I have If('Status (Tracker Table)'.Value = "Step 2", 2) but that doesn't seem to be working.