Hi everyone,
Got one of those problems that should be straight forward but for some reason the answer is avoiding me like the plague.
Firstly, details of the area that I'm having problems with. I have a database. The core data is coming from two linked spreadsheets - identical fields, different data. I have set up a module and macro so that users can 'update data' on a button click. The update looks at the two linked tables in a query (call them 'clean queries'), which gets rid of a bit of mess in the source data (I needed to put a handful of rows at the top of the spreadsheet to make sure numbers link as numbers, etc). It then runs a 'make table query' and sets up a new table on the first data set. After this it runs an append query and appends the second data set to the new table. As the button is clicked subsequently the 'make table' query replaces the existing combined table with a new one.
Now, to the security problem. I want my users to be able to run this sequence, but cannot get it to. I've set up a user group for them, and have tried all sorts of different combinations of permissions on the relevant tables and queries/all tables and queries, and new tables and queries. I've tried giving all permission possible except administer. I've also changed the Run Permissions in all related queries to be "Owners", and have made sure that I am the owner and that my permissions cover everything.
Still I get an error message. The error has changed depending on how it is set, but at the moment it is "Could not create; no modify design permission for table or query 'tblCombinedData'".
The table it refers to is the new one that gets created each time the button is pressed. however under permissions, the user group does have permission to modify design for new tables. I've even tried it with 'adminster' permission on tables, and it won't work.
Is there anybody out there that can think of a solution for this?
Thanks so much if you can.
Got one of those problems that should be straight forward but for some reason the answer is avoiding me like the plague.
Firstly, details of the area that I'm having problems with. I have a database. The core data is coming from two linked spreadsheets - identical fields, different data. I have set up a module and macro so that users can 'update data' on a button click. The update looks at the two linked tables in a query (call them 'clean queries'), which gets rid of a bit of mess in the source data (I needed to put a handful of rows at the top of the spreadsheet to make sure numbers link as numbers, etc). It then runs a 'make table query' and sets up a new table on the first data set. After this it runs an append query and appends the second data set to the new table. As the button is clicked subsequently the 'make table' query replaces the existing combined table with a new one.
Now, to the security problem. I want my users to be able to run this sequence, but cannot get it to. I've set up a user group for them, and have tried all sorts of different combinations of permissions on the relevant tables and queries/all tables and queries, and new tables and queries. I've tried giving all permission possible except administer. I've also changed the Run Permissions in all related queries to be "Owners", and have made sure that I am the owner and that my permissions cover everything.
Still I get an error message. The error has changed depending on how it is set, but at the moment it is "Could not create; no modify design permission for table or query 'tblCombinedData'".
The table it refers to is the new one that gets created each time the button is pressed. however under permissions, the user group does have permission to modify design for new tables. I've even tried it with 'adminster' permission on tables, and it won't work.
Is there anybody out there that can think of a solution for this?
Thanks so much if you can.