Hi,
I have a client-server setup with a SQL Server 2005 backend, with an Access 2003 client front-end forms. On this front-end I have several pass-through queries which basically transfer some records from another SQL Server 2005 database to this database, on different servers.
Through VBA, i have some code that uses 'DoCmd.Openquery "<append queries>" that basically runs an append query that does the transfer.
I have found out that it does not work when a user only has db_datareader and db_datawriter as their only permissions in SQL Server. When this is set and the user attempts to run the query, I get an error indicating that he cannot append.
But when I add the role db_ddladmin, they can run the query fine.
Basically, my question is...why does the DoCmd.OpenQuery require db_ddladmin permissions from SQL Server? The append query is nothing more than an INSERT...SELECT statement copying files from two different servers.
Thanks in advance...
I have a client-server setup with a SQL Server 2005 backend, with an Access 2003 client front-end forms. On this front-end I have several pass-through queries which basically transfer some records from another SQL Server 2005 database to this database, on different servers.
Through VBA, i have some code that uses 'DoCmd.Openquery "<append queries>" that basically runs an append query that does the transfer.
I have found out that it does not work when a user only has db_datareader and db_datawriter as their only permissions in SQL Server. When this is set and the user attempts to run the query, I get an error indicating that he cannot append.
But when I add the role db_ddladmin, they can run the query fine.
Basically, my question is...why does the DoCmd.OpenQuery require db_ddladmin permissions from SQL Server? The append query is nothing more than an INSERT...SELECT statement copying files from two different servers.
Thanks in advance...