Solved

Foxpro to Access ODBC problem

Posted on 2000-04-28
3
604 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
[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
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

733 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