G
Guest
What is the VBA code needed to change startup options for a specified user?
I have a database where all the startup options are disabled for all users
except the administrator (CR).
I want to turn these on if the administrator is logged on.
The following code will display the database window:
If strCurrentUser = "CR" Then
DoCmd.SelectObject acTable, , True
End If
What code is needed for the other six startup options?
I have a database where all the startup options are disabled for all users
except the administrator (CR).
I want to turn these on if the administrator is logged on.
The following code will display the database window:
If strCurrentUser = "CR" Then
DoCmd.SelectObject acTable, , True
End If
What code is needed for the other six startup options?