Garren.Shannon
Member
- Local time
- Today, 15:48
- Joined
- Sep 22, 2022
- Messages
- 113
Hey all,
Preface - I have not worked in Access or SQL is a good many years and I know things have changed so thanks for the help in advance.
I have a working database on my PC where I setup links to 5 tables. On my system, the database works fine. I changed the extension to .accdr to try to lock it down a bit and copied it to a new PC running the same version of Access 2019.
On a new PC, I logged in as admin, setup a System DSN connector on the PC and verified the link to the SQL server. Then I logged out and back in as a standard user and if I open the ODBC tool, I can see the connector but I can't edit it of course. However, when I open the database I get a runtime error and Access closes.
If I change the name back to .accdb and open it I get "ODBC = Connection to <database> failed. Error 3151".
If I go to add an external data source >SQL, and select "Machine Data Source" I don't see the connector, which I am sure is the cause for the whole thing not working.
I am sure this is easy but I am at a loss. How can I embed access to the linked table inside the app so it will work as designed?
Preface - I have not worked in Access or SQL is a good many years and I know things have changed so thanks for the help in advance.
I have a working database on my PC where I setup links to 5 tables. On my system, the database works fine. I changed the extension to .accdr to try to lock it down a bit and copied it to a new PC running the same version of Access 2019.
On a new PC, I logged in as admin, setup a System DSN connector on the PC and verified the link to the SQL server. Then I logged out and back in as a standard user and if I open the ODBC tool, I can see the connector but I can't edit it of course. However, when I open the database I get a runtime error and Access closes.
If I change the name back to .accdb and open it I get "ODBC = Connection to <database> failed. Error 3151".
If I go to add an external data source >SQL, and select "Machine Data Source" I don't see the connector, which I am sure is the cause for the whole thing not working.
I am sure this is easy but I am at a loss. How can I embed access to the linked table inside the app so it will work as designed?