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
725 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
  • 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
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…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

759 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now