G
Guest
I have an MS Access application which needs to read/update a table on a
separate SQL server.
With the appropriate security, I can link that table to my application, but
my application calls to this table only works on workstations which have the
ODBC connection defined in the ODBC Datasource Administrator (odbcad32.exe).
What VBA code can I use in my app to create the configuration on the fly
when I detect it's not there (e.g., by error logic when attempting to open
the table)? Is this even the best solution?
I've searched around for ODBC posts and am a little bit over my head with
this (I'm self taught). I found a lot of code that connects to ODBC objects
but they all seem depend on that System DSN set up.
Thanks in advance for help on this--I'm sure it's probably much
simpler/easier than I'm trying to make it. Chris
separate SQL server.
With the appropriate security, I can link that table to my application, but
my application calls to this table only works on workstations which have the
ODBC connection defined in the ODBC Datasource Administrator (odbcad32.exe).
What VBA code can I use in my app to create the configuration on the fly
when I detect it's not there (e.g., by error logic when attempting to open
the table)? Is this even the best solution?
I've searched around for ODBC posts and am a little bit over my head with
this (I'm self taught). I found a lot of code that connects to ODBC objects
but they all seem depend on that System DSN set up.
Thanks in advance for help on this--I'm sure it's probably much
simpler/easier than I'm trying to make it. Chris