Hi All:
Let me start out by stating I'm so new to this I'm not sure I'm even asking the right question.
I have an access database with a linked table to the Iseries. I use sql to validate all employee id's match the Iseries database. I don't want to setup a dsn for everyone who will be using this sql.
I found this code on the web:
When I run the above it bombs out on the dim statement with "user-defined type not defined"
Am I going in the right direction? Will this approach allow me to get the descrepencies without copying the Iseries file?
Thanks for any insight you can provide
GLS
Let me start out by stating I'm so new to this I'm not sure I'm even asking the right question.
I have an access database with a linked table to the Iseries. I use sql to validate all employee id's match the Iseries database. I don't want to setup a dsn for everyone who will be using this sql.
I found this code on the web:
Code:
Public Sub Copy_Files() Dim cnAS400 As ADODB.Connection, rsAS400 As ADODB.Recordset Set cnAS400 = New ADODB.Connection cnAS400.Open "Provider=IBMDA400; data source=10.2.14.14;", "USERID", "PASSWORD" blah blah blah
Am I going in the right direction? Will this approach allow me to get the descrepencies without copying the Iseries file?
Thanks for any insight you can provide
GLS
Comment