G
Gareth Edmondson
Hi,
I have created a database which users can log into. Usernames and passwords
are stored in a table as is a boolean field showing whether or not the user
is an administrator. It is crude, but it works for this purpose - the table
is called tbl_users.
When I open a form (frm_mainoptions) I need help telling access what the
level of user is so that certain fields are only show on the form if the
user is an administrator. So along the lines of (simple pseudocode):
open frm_mainoptions
read user_level_access
if administrator then show all fields
else
show normal user fields
end if
end
I did design two seperate forms and got these to open based on security
levels, but now want to develop my skills further by only using the one
window.
Your knowledge is appreciated. I am a newbie to this forum, so if it is the
wrong place for this question, please feel free to point me at an FAQ or ask
to post elsewhere.
best wishes
Gareth Edmondson
I have created a database which users can log into. Usernames and passwords
are stored in a table as is a boolean field showing whether or not the user
is an administrator. It is crude, but it works for this purpose - the table
is called tbl_users.
When I open a form (frm_mainoptions) I need help telling access what the
level of user is so that certain fields are only show on the form if the
user is an administrator. So along the lines of (simple pseudocode):
open frm_mainoptions
read user_level_access
if administrator then show all fields
else
show normal user fields
end if
end
I did design two seperate forms and got these to open based on security
levels, but now want to develop my skills further by only using the one
window.
Your knowledge is appreciated. I am a newbie to this forum, so if it is the
wrong place for this question, please feel free to point me at an FAQ or ask
to post elsewhere.
best wishes
Gareth Edmondson