Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'Refresh Data' on Excel sheet Brings Up AS400 Login PrompWindow

Status
Not open for further replies.

JohnBates

MIS
Feb 27, 2000
1,995
US
Hi ODBC experts !

I created this Excel 97 worksheet which retrieves data from a file on an IBM AS400. I'm using a System ODBC data source (using the Client Access driver).

EVERY time the Refresh Data button is clicked... the user gets a prompt to logon to the AS400..... even if the user is already logged on to the AS400...!? After you log in it then populates the worksheet. But why do we get a login window if we are already logged on?

I don't think this has anything to do with the users permissions because it happens to me (a programmer) as well on this worksheet.

Is there a setting in the System DSN that could casue this? Was I wrong to use a System DSN versus File or USer ?

Thanks for any ideas. John



 
... I was able to fix this one myself.

Someone else may have this same problem, so this was my solution:

Change the System DSN (ODBC Data Source)...
-click 'Connection Options'
-in the Signon Information window....
enter a default user ID and check-off the 'Use default user ID' option
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top