funderburgh
Registered User.
- Local time
- Today, 03:31
- Joined
- Jun 25, 2008
- Messages
- 118
I regret bringing this up again, but having read many threads on this issue, I still can't crack it.
I have a form "Logon" in which I declare a variable in the general declarations section:
Option Explicit
Public strAccess As String
Logon opens Form2 and closes.
This code in Form2 produces an error "Form Logon not found"
Private Sub Admin_Control_Click()
MsgBox [Forms]![Logon]![strAccess]
End Sub
Any help is most welcome.
I have a form "Logon" in which I declare a variable in the general declarations section:
Option Explicit
Public strAccess As String
Logon opens Form2 and closes.
This code in Form2 produces an error "Form Logon not found"
Private Sub Admin_Control_Click()
MsgBox [Forms]![Logon]![strAccess]
End Sub
Any help is most welcome.