JamworkS
Registered User.
- Local time
- Today, 03:20
- Joined
- Sep 1, 2011
- Messages
- 49
Hiya all,
We've got an application that is based on user permissions to show/hide command bars, so that only X people can access Y menus, and so on, and the admins will access everything.
Up to now, has worked really fine, but the move from 2003 to 2010 has changed from horizontal menus as any windows app to a small tab called add-ins (complementos in Spanish) within the ribbon.
I've created a whole new routine to create an xml ribbon and that's been a success. I can create dynamically XML code for anyone based on different permisions.
So what's my problem? My problem is the following:
So to sum up, I don't know what I'm doing wrong, but I've created an autoexec macro to call a function which creates the xml for the ribbon, and then load the Ribbon with a Function that I found in www.accessribbons.de. So it seems that when I change a user, i have to close two times and open two times the database to show that user's Ribbon. What can I do?
I've tried to look for a refresh option in the ribbon but haven't find it.
Any ideas?
Cheers.
We've got an application that is based on user permissions to show/hide command bars, so that only X people can access Y menus, and so on, and the admins will access everything.
Up to now, has worked really fine, but the move from 2003 to 2010 has changed from horizontal menus as any windows app to a small tab called add-ins (complementos in Spanish) within the ribbon.
I've created a whole new routine to create an xml ribbon and that's been a success. I can create dynamically XML code for anyone based on different permisions.
So what's my problem? My problem is the following:
- I open my accdb, log in and shows my menu.
- Quit the db, and log in using a different username/password and still shows my menus, whilst it should show the user's.
- I open again and log in with that same different username, and now it shows the user's menu.
- I quite, open and log in with my admin passwors, and shows me again the last users menu. If I quite and open, do login, then It will show mine.
So to sum up, I don't know what I'm doing wrong, but I've created an autoexec macro to call a function which creates the xml for the ribbon, and then load the Ribbon with a Function that I found in www.accessribbons.de. So it seems that when I change a user, i have to close two times and open two times the database to show that user's Ribbon. What can I do?
I've tried to look for a refresh option in the ribbon but haven't find it.
Any ideas?
Cheers.