I have a MS Access accdb file with a form that calls a macro. The macro calls a OpenQuery in Edit Mode. This works fine with 32-bit Access but breaks when upgraded to 64-bit.<\/p>\n
I dont understand what needs to be changed to make it work under 64-bit Access.<\/p>\n
I see a couple of ODBC entries in Linked table manager that look like this:<\/p>\n
DSN=SOTAMAS90;Description=MAS 90 4.0 ODBC Driver;Directory=\\10.5.5.160\\Sage\\Sage 100 2014\\MAS90<\/p>\n
From examine the registry, the user does not have the SAGE driver installed on his PC. Can someone explain how this works, and whats needed to make it work under 64-bit?<\/p>\n
Thanks<\/p>","upvoteCount":2,"answerCount":5,"datePublished":"2022-07-28T15:33:58.000Z","author":{"@type":"Person","name":"marcoslopez","url":"https://community.spiceworks.com/u/marcoslopez"},"suggestedAnswer":[{"@type":"Answer","text":"
I have a MS Access accdb file with a form that calls a macro. The macro calls a OpenQuery in Edit Mode. This works fine with 32-bit Access but breaks when upgraded to 64-bit.<\/p>\n
I dont understand what needs to be changed to make it work under 64-bit Access.<\/p>\n
I see a couple of ODBC entries in Linked table manager that look like this:<\/p>\n
DSN=SOTAMAS90;Description=MAS 90 4.0 ODBC Driver;Directory=\\10.5.5.160\\Sage\\Sage 100 2014\\MAS90<\/p>\n
From examine the registry, the user does not have the SAGE driver installed on his PC. Can someone explain how this works, and whats needed to make it work under 64-bit?<\/p>\n
Thanks<\/p>","upvoteCount":2,"datePublished":"2022-07-28T15:33:59.000Z","url":"https://community.spiceworks.com/t/ms-access-macro-no-longer-works-when-upgraded-to-64-bit/932234/1","author":{"@type":"Person","name":"marcoslopez","url":"https://community.spiceworks.com/u/marcoslopez"}},{"@type":"Answer","text":"
You need to setup a 64 bit ODBC on the control panel.<\/p>","upvoteCount":0,"datePublished":"2022-07-28T16:48:29.000Z","url":"https://community.spiceworks.com/t/ms-access-macro-no-longer-works-when-upgraded-to-64-bit/932234/2","author":{"@type":"Person","name":"BadAndyG","url":"https://community.spiceworks.com/u/BadAndyG"}},{"@type":"Answer","text":"
I ended up just installing 32bit version of Office 365 instead of 64bit for using MS Access with ODBC links to external data like Sage and others. I have a couple dozen external application for reporting and other functions I did not feel like sorting all the issues the 64bit casued.<\/p>","upvoteCount":0,"datePublished":"2022-07-28T17:33:21.000Z","url":"https://community.spiceworks.com/t/ms-access-macro-no-longer-works-when-upgraded-to-64-bit/932234/3","author":{"@type":"Person","name":"gregseales2","url":"https://community.spiceworks.com/u/gregseales2"}},{"@type":"Answer","text":"
Both 32-bit and 64-bit ODBC User DSN connect fine<\/p>\n
Copied the connection string from ODBC to Access Linked table manager<\/p>\n
DSN=SOTAMAS90;Description=MAS 90 4.0 ODBC Driver;Directory=\\10.5.5.160\\Sage\\Sage 100 2014\\MAS90;Prefix=\\10.5.5.160\\Sage\\Sage 100 2014\\MAS90\\SY, \\10.5.5.160\\Sage\\Sage 100 2014\\MAS90==;ViewDLL=\\10.5.5.160\\Sage\\Sage 100 2014\\MAS90\\HOME;CacheSize=4;DirtyReads=1;BurstMode=1;StripTrailingSpaces=1;SERVER=NotTheServer<\/p>\n
but get Data source name not found<\/p>\n
Data source is there, since I copied and paste<\/p>","upvoteCount":0,"datePublished":"2022-07-28T18:18:34.000Z","url":"https://community.spiceworks.com/t/ms-access-macro-no-longer-works-when-upgraded-to-64-bit/932234/4","author":{"@type":"Person","name":"marcoslopez","url":"https://community.spiceworks.com/u/marcoslopez"}},{"@type":"Answer","text":"
I think its working. added to system DSN<\/p>","upvoteCount":0,"datePublished":"2022-07-28T18:29:01.000Z","url":"https://community.spiceworks.com/t/ms-access-macro-no-longer-works-when-upgraded-to-64-bit/932234/5","author":{"@type":"Person","name":"marcoslopez","url":"https://community.spiceworks.com/u/marcoslopez"}}]}}