Solved

How to avoid prompting of AS400 user name and password when running queries based on linked table in an Access program?

Posted on 2013-01-20
6
769 Views
Last Modified: 2013-01-24
I need help in automating the part when a user has to input his userid and password every time he runs the access program, is there some function which can be used to store the users id, password, AS400 server details for connection so that the user only needs to save them once?

There will be several linked tables so he will have to enter the id and password depending on the number of links and queries.


MS Access version is 2010
0
Comment
Question by:josyp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 250 total points
ID: 38798602
You can save the user credentials directly in the linked tables. To do that, delete the links and then recreate them, but this time be sure to check the "Save Password" box when you create the links.
0
 
LVL 20

Assisted Solution

by:clarkscott
clarkscott earned 250 total points
ID: 38800651
If multiple users, have your system folks create a "generic" account and apply this username and password when linking to AS400.  All users will then have access.

If you want to control who uses the database, maintain a "user list" and examine during startup.

Scott C
0
 

Author Comment

by:josyp
ID: 38811697
I've requested that this question be deleted for the following reason:

Not the answer that I was looking for
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 84
ID: 38811698
Not quite sure what you mean by "not the answer I was looking for". Can you elaborate? Did you find an alternative solution?
0
 
LVL 84
ID: 38814371
Note that my comment regarding saving the password in the link connect string is the standard method used when you don't want to prompt the user for credentials.

clarkscott's comment is relevant also, and should be accepted along with my solution.
0
 

Author Comment

by:josyp
ID: 38814526
I have raised another question and supported it with necessary document to clarify my requirement, that is why I wanted to close this case, it's not that the solutions provided where wrong, but what I wanted was something else, regret for being blunt in my approach, I should have been more specific.  Thank you all for the time and effort taken to review and provide solutions.

The new question that I have raised is this:
"How to automate MS Access program to import data from different database?"
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question