G
gdonald20
Access 2007 Toolbars
I am drowning in Access 2007 Hell
IN Access 2003 I have a nice little application where, on open of the main
menu, the toolbars disappear for all users except Owner:
(N.B. THere are no Custom toolbars)
If CurrentUser() = "Owner" Then
DoCmd.ShowToolbar "Menu Bar", acToolbarWhereApprop
DoCmd.ShowToolbar "Form View", acToolbarWhereApprop
DoCmd.ShowToolbar "Database", acToolbarWhereApprop
DoCmd.ShowToolbar "Web", acToolbarNo
Else
DoCmd.ShowToolbar "Menu Bar", acToolbarNo
DoCmd.ShowToolbar "Form View", acToolbarNo
DoCmd.ShowToolbar "Database", acToolbarNo
DoCmd.ShowToolbar "Web", acToolbarNo
End If
I am tearing my hair out trying to put this in code in Access 2007.
I can see from various previous threads that this "kind of" thing has been
used before but not this nice simple on/off version.
Can someome please help me.
Thanks
I am drowning in Access 2007 Hell
IN Access 2003 I have a nice little application where, on open of the main
menu, the toolbars disappear for all users except Owner:
(N.B. THere are no Custom toolbars)
If CurrentUser() = "Owner" Then
DoCmd.ShowToolbar "Menu Bar", acToolbarWhereApprop
DoCmd.ShowToolbar "Form View", acToolbarWhereApprop
DoCmd.ShowToolbar "Database", acToolbarWhereApprop
DoCmd.ShowToolbar "Web", acToolbarNo
Else
DoCmd.ShowToolbar "Menu Bar", acToolbarNo
DoCmd.ShowToolbar "Form View", acToolbarNo
DoCmd.ShowToolbar "Database", acToolbarNo
DoCmd.ShowToolbar "Web", acToolbarNo
End If
I am tearing my hair out trying to put this in code in Access 2007.
I can see from various previous threads that this "kind of" thing has been
used before but not this nice simple on/off version.
Can someome please help me.
Thanks