Hello,
In Access 2010/2007, how do you prevent users from flipping into design view from the ribbon? I do not want to hide the entire ribbon (DoCmd.ShowToolb ar "Ribbon", acToolbarNo) or even the "View" part of the "Home" tab because users like being able to flip between Form View and Datasheet View in the forms. It turns out that on our network, if a user inadvertantly clicks Design View, then the database becomes locked to new users until the person who clicked design view closes and reopens the database.
On another website, someone recommended a CustomUI editor, though I don't know where that is for Access 2010, and if it involves an Office 2010 library reference, I'm not sure if it'll work since another office we work with is still using Access 2003 (example: I had to reference Microsoft Excel 11.0 Objects and not the new 14.0 ones when adding excel functionality to our database, they couldn't open it when it referenced 14.0 objects).
I am not sure if I can disable design view with DoCmd.ShowToolb ar, and I know for sure Access 2010 doesn't disable ribbon stuff with CommandBars(i) (I did a for loop through every CommandBar and set enabled to false and the ribbon was unaffected).
Please let me know if you know how to disable design view from the ribbon.
Thanks in advance!
In Access 2010/2007, how do you prevent users from flipping into design view from the ribbon? I do not want to hide the entire ribbon (DoCmd.ShowToolb ar "Ribbon", acToolbarNo) or even the "View" part of the "Home" tab because users like being able to flip between Form View and Datasheet View in the forms. It turns out that on our network, if a user inadvertantly clicks Design View, then the database becomes locked to new users until the person who clicked design view closes and reopens the database.
On another website, someone recommended a CustomUI editor, though I don't know where that is for Access 2010, and if it involves an Office 2010 library reference, I'm not sure if it'll work since another office we work with is still using Access 2003 (example: I had to reference Microsoft Excel 11.0 Objects and not the new 14.0 ones when adding excel functionality to our database, they couldn't open it when it referenced 14.0 objects).
I am not sure if I can disable design view with DoCmd.ShowToolb ar, and I know for sure Access 2010 doesn't disable ribbon stuff with CommandBars(i) (I did a for loop through every CommandBar and set enabled to false and the ribbon was unaffected).
Please let me know if you know how to disable design view from the ribbon.
Thanks in advance!
Comment