Because you want to access data from a vendor, it takes a lot of effort to connect to access by writing a demo for access, and now it's time to share the problems you're experiencing. We have a reference to similar problems in the future (some of my answers are also found online)
1. The "microsoft.ace.oledb.12.0" provider is not registered on the local computer
Download Access database engine 2010 or Access database Engine 2007 and select the download that corresponds to your computer version.
Access Database Engine 2010:https://www.microsoft.com/en-us/download/confirmation.aspx?id=13255
2. ODBC prompts the architecture mismatch between the driver and the application in the specified DSN
Open C:\Windows\SysWOW64\odbcad32.exe, add access configuration
3. The application cannot be started. The workgroup information file is missing or has been opened exclusively by another user
First look at the database file has not produced a new file *.ldb, if there is another program occupied, close other programs. Otherwise, it may be a statement error connecting to access, and a reference connection statement for your version of Access is found on site https://www.connectionstrings.com/access/.
An overview of the issues encountered connecting to access data!