Hi, I am new to filemaker. I am creating return button. I use OnLayoutExit to get the id(global variable) of the current layout, then when I press return button from another layout, I could go back to the previous layout by using the id. However, when some scripts that switch layouts during the script, it will change the global variable.
Is there any solution to solve this problem.
I am using filemaker 17.