By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
463,146 Members | 523 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 463,146 IT Pros & Developers. It's quick & easy.

Connecting to iSeries with MS Access

P: 1
We have been using ODBC connections that are in the registry of the computer. However these connections aren't in by default so when a new user uses the Access program or when a current user goes to a different computer, we have to send them the batch program to put the ODBC hooks on that machine.

We want to get around that by using Pass-Through queries and the ODBC connection string. What we have got to work is this:


Then we put a DSN file in that location and the program connects using that DSN. The DSN file looks like this:

DRIVER=iSeries Access ODBC Driver
DESC=iSeries Access ODBC

We want to take it one step further and put all the info in the ODBC Connection string but we haven't had any luck. We have tried many variations of the following:

ODBC;Driver={iSeries Access ODBC Driver};System=PND43851;

When we use ODBC;Driver={iSeries Access ODBC Driver}; an ODBC connection screen comes up like you are at your control panel in windows and go to ODBC connections.

If we use ODBC;Driver={iSeries Access ODBC Driver};System=PND43851; we get error (-7778) which is "there is no message for this error".

We have tried all kinds of combinations of "'s and ;'s and any other thing we can think of, including using all the fields in the above DSN in that line.

Is this even possible? If so can someone tell me where my error is?

Mar 9 '07 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 31,770
You've obviously tried the 'Trial & Error' approach with some intelligent guesswork.
The other thing I'd try is to find a manual (hard copy or web based - doesn't matter which) to see if that can tell you.
The last possibility I can think of is to try the vendor's web site. Maybe they even have forums there for technical questions.
I'm sure it will be specific to the product. I did it to my SQL server by linking a table then studying the .Connect property of the linked table (with some Trial & Error). My other ODBC server (EasySoft) had quite different parameters set.
Mar 11 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.