Thanks. I was thinking more of a many-to-many relationship between "Users" and "Permission class".
However, how would you implement this? I have not tested this but can you change some control's attribute (e.g. "visible") value when the form is closed?
Ideally after user logs in, the following pseudo will kick in:
Code:
For each class the user is in
setRestrictions(class)
Loop
Where we can have SELECT CASE depending on Class in the setRestrictions. If you can set here that on 'someForm' a specific button is .visible = False then that is great, but can you do that without opening the form, and can you save it so that it remains that way for the duration of when the DB is opened? I'm guessing that some "Before Quit" application code would set all these properties back to the 'standard' setting.