Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Securing Tab Controls

Status
Not open for further replies.

greysquirl

Programmer
Jan 31, 2001
27
US
I am using a Tab Control on a form that I have in my database. On this Tab Control are 6 different tabs. I know there are ways to secure a database and make ir read only or give users read/write access, but what I am more interested in is how would I give certain users access to only tabs I specify?

i.e. I have a Personal Information tab and a Company Information tab. . .how would I give a low-level user access to view company info and not personal info?
 
Utilize the 'Enabled' or 'Visibility' property of each tab according to user rights. Depending on how you have implemented your app restrictions, consider using a SELECT CASE or IF THEN code blocks to block or allow access to these items.

Gary
gwinn7
 
Could you please give me a little more detail than that? I know how to use the "enabled" and "visibility" properties but not as they pertain to the users rights. Do you have any examples I could work by?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top