08-07-2019, 01:08 PM
Hi Dan,
Trying to figure this non-modal issue out in a clever way, I need a little guiding:
In the non-modal environment, any lines in the procedure after the form.create.show, will be executed right away but only acting on data before the form.create. And at the end of the procedure, the calling form is terminated. As far as I understand it, the calling form, will be reactivated, as if it was just launched, once the called form terminates.
As such, the purpose of UserSession is (among others I presume) to keep values between page refreshes, and can be used to pass data between forms. I take it, the Usersession form, is NOT refreshed during the life of an application. But if I initialize values in it as part of the launch of the mainform, I'll need to know that I've done that before, so that I do not overwrite any data from before, being passed between forms.
Are the any preferred ways of doing that ?
Trying to figure this non-modal issue out in a clever way, I need a little guiding:
In the non-modal environment, any lines in the procedure after the form.create.show, will be executed right away but only acting on data before the form.create. And at the end of the procedure, the calling form is terminated. As far as I understand it, the calling form, will be reactivated, as if it was just launched, once the called form terminates.
As such, the purpose of UserSession is (among others I presume) to keep values between page refreshes, and can be used to pass data between forms. I take it, the Usersession form, is NOT refreshed during the life of an application. But if I initialize values in it as part of the launch of the mainform, I'll need to know that I've done that before, so that I do not overwrite any data from before, being passed between forms.
Are the any preferred ways of doing that ?

