I'm wondering how can i use vba to open a specific switchboard page.
For example, i have 2 switchboard pages (main and admin). on my main page i have an option "Admin Login" when clicked a dialog form opens prompting the user for password, while the main switchboard is still open.
in my dialog form i have:
If me.txtPassword <> "password" Then
MsgBox "try again"
'code to switch stwchboard page
DoCmd.Close acForm, "frmAdmin"
can anyone help me out please?