Question:
Hi,
We have some code that runs on i_step=3 in the cmod code. The code runs fine when you open a web report but it does not seem to run if you leave the web report open and just execute it again from the variable screen.
I read in the help that the i_step=3 portion only runs once. Does this mean it only runs when you open a query?
Cheers.
Answer:
The way I know it, it runs only once and not once per variable. So if you re-fresh it assumes you have changed a variable and that will not trigger a re-run. Step 3 is there purely to derive values for other variables or validate the user entries.