G
Guest
When my users open the main form on my apps, I like to create a session id
and assign it to the form, and display it to the viewer. During work I save
the session id with certain records that are created.
But I have a hard time getting the session id to display!
My apps start by opening a login form to get the employee id, then creates a
session record, fetchs the session id just created, opens the main form and
sets the public session id property to the proper session id.
But I can't get the session id to display on the main form! By the time the
session id property is set the controls have already been displayed, meaning
that when I attempt to update the control with Myform.txtMySession =
Myform.MySession, the sessionid property has not yet been set by the calling
form, and when the form is finally open, there is no event that fires after
the session id property has been set, so the text box never shows the
(internal) session id.
Any ideas of how to get the session id property into the text box that wants
to display the id?
Thanks in advance for your help
Fred
and assign it to the form, and display it to the viewer. During work I save
the session id with certain records that are created.
But I have a hard time getting the session id to display!
My apps start by opening a login form to get the employee id, then creates a
session record, fetchs the session id just created, opens the main form and
sets the public session id property to the proper session id.
But I can't get the session id to display on the main form! By the time the
session id property is set the controls have already been displayed, meaning
that when I attempt to update the control with Myform.txtMySession =
Myform.MySession, the sessionid property has not yet been set by the calling
form, and when the form is finally open, there is no event that fires after
the session id property has been set, so the text box never shows the
(internal) session id.
Any ideas of how to get the session id property into the text box that wants
to display the id?
Thanks in advance for your help
Fred