Hello,
I have a function that obtains the user name of the current application user. For testing purposes, I have set the control source of an unbound text box to display the function results. What I would like to do is to make use of this function to apply some simple database security.
Basically, the breakdown of my requirement is as follows:
1. Use function to get user name and set variable to this value (I have this working)
2. Compare captured user name to static list of users.
3. Based on user name comparison, display appropriate menu.
I am familiar with how to capture the user name using an API call, but I am not sure how to get the application to display the appropriate menu. Also, does it make a difference if I would like to use the default menu as the other menu to be displayed or do I have to use two custom menus?
Any assistance would be appreciated.
Thanks,
Scott.
I have a function that obtains the user name of the current application user. For testing purposes, I have set the control source of an unbound text box to display the function results. What I would like to do is to make use of this function to apply some simple database security.
Basically, the breakdown of my requirement is as follows:
1. Use function to get user name and set variable to this value (I have this working)
2. Compare captured user name to static list of users.
3. Based on user name comparison, display appropriate menu.
I am familiar with how to capture the user name using an API call, but I am not sure how to get the application to display the appropriate menu. Also, does it make a difference if I would like to use the default menu as the other menu to be displayed or do I have to use two custom menus?
Any assistance would be appreciated.
Thanks,
Scott.