Hi everyone!
Our Access databases currently use the windows Data Sources ODBC connection to link to AS400 tables. I am running into a problem where my modules are using a few of these tables and the module will prompt the user for a login and password. While it's fine to have this pop up once during a module, it pops up every time that the module touches one of the AS400 tables.
I started looking into using connection strings in VBA code to link to tables. I can get a SQL string working perfectly, but I am stumped at how to link to the AS400? I can't find any good examples that show how to do the connection and then how to USE the connected table.
Any thoughts?
Thank you for your input
Our Access databases currently use the windows Data Sources ODBC connection to link to AS400 tables. I am running into a problem where my modules are using a few of these tables and the module will prompt the user for a login and password. While it's fine to have this pop up once during a module, it pops up every time that the module touches one of the AS400 tables.
I started looking into using connection strings in VBA code to link to tables. I can get a SQL string working perfectly, but I am stumped at how to link to the AS400? I can't find any good examples that show how to do the connection and then how to USE the connected table.
Any thoughts?
Thank you for your input
