Solved

Foxpro to Access ODBC problem

Posted on 2000-04-28
3
608 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

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

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…
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
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 …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

630 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