Hi,
I am running an Access Front End with SQL Server 2000 Back End. I have set up a few different Roles on the Server, including one of Manager. I have added a command button on one of my Access forms that will only be seen by one user (manager), but I don't know how to check for this.
Using VBA, how can I test for the SQL Server role the current user belongs to?
(I am not sure the appropriate forum to post this on, so I will try it on VBA Coding and SQL Server programming.)
Thanks in advance.
I am running an Access Front End with SQL Server 2000 Back End. I have set up a few different Roles on the Server, including one of Manager. I have added a command button on one of my Access forms that will only be seen by one user (manager), but I don't know how to check for this.
Using VBA, how can I test for the SQL Server role the current user belongs to?
(I am not sure the appropriate forum to post this on, so I will try it on VBA Coding and SQL Server programming.)
Thanks in advance.