I have an Access 2007 application I'm going to distribute with a SQL Server 2005/2008 database as the back end.
When I distribute it, the Access ACCDE file has a DSNless connection. However, the server name may vary by client, though the database will be the same. I'll also use an Application Role so the client won't have to fool with permissions.
1) The problem is, each client has a different server name, and how can that be addressed in the connection to be unique for each client?
2) For the Application role, I've heard about running "sp_setapprole" and it's something that needs to run before the actual connection? Can anyone elaborate or give an example?
Thanks for much in advance.
When I distribute it, the Access ACCDE file has a DSNless connection. However, the server name may vary by client, though the database will be the same. I'll also use an Application Role so the client won't have to fool with permissions.
1) The problem is, each client has a different server name, and how can that be addressed in the connection to be unique for each client?
2) For the Application role, I've heard about running "sp_setapprole" and it's something that needs to run before the actual connection? Can anyone elaborate or give an example?
Thanks for much in advance.