?
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
Medium Priority
?
781 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 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 750 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 750 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
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
LVL 85
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 85
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Suggested Courses

741 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