I am trying to run a function that hide some values according to the value of another tag. I call the function from the sub xxxxx_DataUpdate(), so it executes each time a value changes.
The procedure is not working, it runs but it doesn't hide all the values, and the behavior is different each time it runs (hide more or less values) . If I run it step by step (debugging) or call it through a button , It works .
Do someone have any suggestions?