473,387 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How do I make a connect string for a iSeries Access ODBC?

anoble1
245 128KB
I am having trouble making a connecting string for a database I have.

Here is the code I have for it now.
Expand|Select|Wrap|Line Numbers
  1. Public Sub LinkTables2()
  2. strConn = "Driver={iSeries Access ODBC Driver};System=PFW;Uid=anoble;Pwd=password"
I have no clue what I am doing with this.
When I pull up the ODBC Data Source Administrator I am using the "Name" of the Source which is PFW.

Any help? I am trying to make this run when the program opens so I don't have to enter in my username and password everytime.
Mar 17 '16 #1
5 1437
Rabbit
12,516 Expert Mod 8TB
How come you are using a third party driver rather than the native one that Microsoft provides?
Mar 17 '16 #2
anoble1
245 128KB
What do you recommend me using?

I tried using the SQL Server one, but when I put the IP address in it failed.
Mar 18 '16 #3
Rabbit
12,516 Expert Mod 8TB
I'm confused, are you trying to access SQL server or Access? Your first post says Access but your second post you are talking about SQL server. They aren't the same thing.
Mar 19 '16 #4
anoble1
245 128KB
I am using MS Access to grab that data. I had my IT department set up the datasource connection a long time ago in the Windows Administrator. The driver it uses is called iSeries Access ODBC Driver. I honestly don't know anything about it. I am trying to write VBA in my MS Access database the automagically link the table and use my username and password so I don't have to enter it every time. I don't know how to string my username and password using that iSeries Access Driver. Maybe there is another way?
Mar 21 '16 #5
Rabbit
12,516 Expert Mod 8TB
You are using Access to grab the data. But where is the source data sitting? Maybe you should ask your IT department to set up the connection again
Mar 22 '16 #6

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

Similar topics

0
by: Me | last post by:
Hi all... I have a duly annoying ODBC problem: I make a new, blank Access 2k database, and add a single ODBC link to an MS SQL Server, using a DSN which has full access to the data. If I...
0
by: Lewt | last post by:
I am aware of the 'hack the registry' approach. This is just not a safe way to accomplish this on a user's PC. I need to do this the right way. Is there anyone -perhaps from Microsoft - out there...
3
by: Laurence | last post by:
Hi there, Does somebody know the efficent way to connect DB2/400? Through iSeries Access ODBC/OLEDB driver or DB2 Connect? Which will more fast and efficent? In addition, does DB2 Connect use...
2
by: Fred | last post by:
I am trying to write an app in vfp 8.0 using cursoradapters connecting to an as400 db2 database. My goal is to set up a test data library (called FRED) on the iseries identical to the production...
3
by: ayyappa | last post by:
Hi All, I am working on Informatica Designer using MS Access. Here, i have successfully accessed the data thru ODBC connection. After creating session in Workflow Manager in Informatica, it has...
16
by: network-admin | last post by:
We have Problems with Access query on Oracle 10g Database with ODBC Connection. The Query_1 is such as select * from xtable where ycolumn <"S" Result = ODBC Faild...
6
seligerasmus
by: seligerasmus | last post by:
Greetings, I'm having a bit of trouble with a small web service I've been writing, specifically with the connectivity aspect of the service. My scenario is as follows : I'm using the IBM...
0
by: sheebahezi | last post by:
Hi , I'm using AS400 server in a project. When i try to set the connection for an ODBC Driver it gives an error mesage( The setup routines for the iseries Access ODBC Driver could not be...
1
by: Gorkamail2 | last post by:
Hi, I'm getting the following error when a program generates a query to a AS400 database. Product=ZWWVI-AUNO Platform=Other Table=IIM Error -2147217900 SQL0104 - Token 99 was not valid. Valid...
0
by: ragtopcaddy via AccessMonster.com | last post by:
Using a user dsn with Sybase 11 driver, I created a pass through query. When I run it, I get the following error msg: "Incorrect syntax near ';' (#102)" Here's the sql: "SELECT AccountId...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.