Multiple Start-up Forms Solution
Start off by creating a new table (if your database has a backend, be sure this table is in the front end)
You will need to create two forms, drop a frame with two options on both forms. Both forms are going to save to information from the options into your table
On one of the forms, view the form properties and create an Event Procedure for OnLoad. In the event add the following code:
Private Sub Form_Load()
On Error GoTo Err_Form_Load
Select Case (Me![FrameName])
Case 1 'If Option 1
DoCmd.OpenForm "[YourMainFormA]"
Case 2 'If Option 2
DoCmd.OpenForm "[YourMainFormB]"
Case Else
MsgBox "An Error Has Occured Please Contact the Administrator" & Chr(10) & "Error: Invaild User Type", , "Error:"
End Select
DoCmd.Close acForm, "[ThisFormName]"
Exit_Form_Load:
Exit Sub
Err_Form_Load:
MsgBox Err.Description
Resume Exit_Form_Load
End Sub
Use this form as your start up form. What it will do is, on start-up, look at the last selected option and open the form based on that. Then it will close the option form.
You will use the Second form (the one WITHOUT the event procedure) to change your selection.
It is a bit complex, I use this code to go back and forth between 4 main pages and it works perfectly.
Hope it helps.