P
Patrick
I am trying to obtain values from a hidden form and use them on another using
the code below. But as far as the code is concerned the frmLogin is not
loaded when its not visible, so the code does not work. How can I obtain
values from a hidden form??
If Not CurrentProject.AllForms("frmLogIn").IsLoaded Then
' It's not open. Do something here
Me.txtUserId = Forms("frmLogIn").Controls("txtUserId")
End If
the code below. But as far as the code is concerned the frmLogin is not
loaded when its not visible, so the code does not work. How can I obtain
values from a hidden form??
If Not CurrentProject.AllForms("frmLogIn").IsLoaded Then
' It's not open. Do something here
Me.txtUserId = Forms("frmLogIn").Controls("txtUserId")
End If