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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query Access data using Excel via ODBC

Status
Not open for further replies.

sdannerr

Technical User
Jul 15, 2003
10
US
I am having difficulties with querying data from Access 2000 using Microsoft Excel. We use security on all of our databases which I think might be part of the problem. When I go to create a query in Excel I am told that it cannot connect to the table. A few tables work fine but not all which is also strange. If I try to access the database from Crystal Reports I am told that each table has no fields which of course is not the case.

To me this sounds like an ODBC problem. Does anyone have any insight into what might be going on?
 
Have you setup the ODBC DSN with an username and password?

I haven't got any files to try this with. Its the only thing I can think of.

Paul Winstone
paul.winstone@logicacmg.com
 
I do not have a username and password filled in for my ODBC connection. Does it use a default user then?
 
Hi,

I do faced this problem before. What I do is log-off current user and signed in as power user (or the Highest authority user) for the ODBC connectivity.
 
When you are in Crystal reports, on left click "create new connection" and then click Access/excel. The CONNECTION box will appear. Check the "secure logon" after completing database type and then enter the information (password, path etc.). This would allow you to link tables from databases protected via with system.mda files.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top