B
Bob
Hi,
I'm trying to control what parts of a form are visible or not depending
on the user of the computer.
I've managed to find and adapt some code to tell me who the user is and
I have a table set up with user names and a permission level (1 or 0)
I can manually alter the On_Load event of my form to hide the parts I
want (tabs)
Can anybody help me out with putting it all together so that the forms
On_Load event looks at GetUserName function which looks at the
UserPermissions table and sets Visible True or False accordingly.
This is taking me so long and it looks like it ought to be fairly simple.
Thanks
Bob
I'm trying to control what parts of a form are visible or not depending
on the user of the computer.
I've managed to find and adapt some code to tell me who the user is and
I have a table set up with user names and a permission level (1 or 0)
I can manually alter the On_Load event of my form to hide the parts I
want (tabs)
Can anybody help me out with putting it all together so that the forms
On_Load event looks at GetUserName function which looks at the
UserPermissions table and sets Visible True or False accordingly.
This is taking me so long and it looks like it ought to be fairly simple.
Thanks
Bob