on 07-24-2007 11:58 AM
I need to know the order in which the code lines I insert in each window are run.
Does it depend on the vertical order of the windows in the tree?
Thanks.
Maybe my question isn't clear enough.
If I have:
First case:
WINDOW1
-code1
-text1
WINDOW2
-code2
-text2
Will the function run code1 before code2?
Second case:
WINDOW2
-code2
-text2
WINDOW1
-code1
-text1
Will the function run code2 before code1?
If I give a value to a certain global var in code1, can I use it in text2?
If so, can I do that in both cases alike or just in first case?
Thanks a lot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Usually, it run in a sequence, i.e CODE1 will be executed first and then code 2 will be executed in first case.
Similarly, code 2 executed and then code 1 will be executed in second case.
Now coming back to your second question, you can use the global variable in text2. it still works.
For better understanding, keep hard BREAK-POINT in your code lines and execute. You will understand the clear picture.
Regards,
SaiRam
Hi..
I assume you are asking About Program lines in Smartforms.
They are executed in the Same sequence in which they are placed under a window.
<b>Reward if Helpful.</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.