File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Connecting to FoxPro database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Connecting to FoxPro database" Watch "Connecting to FoxPro database" New topic

Connecting to FoxPro database


Joined: Jun 01, 2002
Posts: 3
Can anyone explain the steps in connecting to foxpro database.Thanks in advance....
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17268

In order to connect to a Foxpro database you will need to use the jdbc to odbc driver. I am not sure the exact driver name, but you would basically connect the same way as with other connections
the "location/sid" is the odbc dsn name.
Hope that helps steer you in the right direction.
So what are you using Java for to connect to Foxpro? There could be other solutions that might work better and faster?

Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
It is sorta covered in the JavaRanch Style Guide.
subject: Connecting to FoxPro database