Solved

Foxpro to Access ODBC problem

Posted on 2000-04-28
3
595 Views
Last Modified: 2008-02-01
I need to link to Foxpro files that reside on my hard drive using Access 2000.  The foxpro option is not in my picklist of all file types, so I must use ODBC since a regular DBase does not work.

Everything goes fine and the tables are linked in using the ODBC driver.  The table opens and data can be viewed and entered, etc.

But when I go to build a query from the tables I get an error message at runtime like below:

ODBC--call failed.
[Microsoft][ODBC Visual FoxPro Driver]cannot open (#171) etc..
or
Could not find linked table..

I need help pretty bad.  Does anyone know what's wrong??

Thanks!
0
Comment
Question by:EdCo
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
paasky earned 50 total points
ID: 2762646
Hello EdCo,

There was no direct answer or fix for your problem in MS KB, but you could look these articles and check your Visual FoxPro ODBC driver is Access 2K compliant (get the latest version and install hotfixes is necessary).

Latest driver bug:
http://support.microsoft.com/support/kb/articles/Q231/7/14.ASP?LN=EN-US&SD=gn&FR=0

Union query bug:
http://support.microsoft.com/support/kb/articles/Q244/9/04.ASP?LN=EN-US&SD=gn&FR=0

You could also change your queries to pass-thru queries (Query | SQL Specific -> Pass-through) and see if that will fix the problem. Note that you can provide Connect String (for eg. ODBC;DSN=mydatabase;UID=scott;PWD=tiger) in query properties if you don't want see login prompt every time you run the query.

Hope this helps,
Paasky
0
 
LVL 2

Expert Comment

by:repstein
ID: 2763130
Are you using the Visual FoxPro driver to link to your FoxPro 2.5 or 2.6 tables? This is the recommended way to do this.

Richard
0
 
LVL 10

Expert Comment

by:paasky
ID: 2766693
Glad I was able to help you EdCo.

Regards,
Paasky
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
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…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

744 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

12 Experts available now in Live!

Get 1:1 Help Now