To get previous value of dt?

Hi, I would like to know if this is possible?
I am using for each row activity.
Each row, I have row(1).tostring.
I am storing it as value A.
Thus, for the next row, will I be able to use the value A.

If not, is there an other way around?

Thank you xoxo

You can use a global variable which could be outside the for each loop. You can store your row(1) value to that until you store a new value to that you can use that global variable

Thanks,
Prankur

1 Like

Hi, thanks for your suggestion. How can I set global variable?

Any variable whose scope is global that means is declared on the top most activity

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.