Fox Pro and Access are both Microsoft products and I own
only the Access-2003 provided with Office-2003.
There must be a logical reason ( the "basic" I've missied ) why I can
not simply open the Fox Pro file and see how many records are there
and in what order.
Logical reason? How about a basic understand of how computers work? You
can't open a Microsoft word file with ms-access, and yet they are from the
same company. You can't open a Microsoft publisher file with ms-access, and
yet they are from the same company.
And, even product that store data usually require their correct program. So,
if we take a simple accounting program from Microsoft like "Microsoft
Money", then once again, the data files cannot be read by ms-access. The
fact that Microsoft money is a data program that just stores data does not
mean that ms-access can open that accounting files.
So, it should be no surprise to you that it usually requites the program
that belongs to the data to open the file.
I bought the "Dummies" book, but it sure doesn't talk much about this
subject.
Ah, ok..you are new to computers. So, this the concept of different programs
being needed to open the respective data that the program creates is a new
idea to you. This is not difficult a concept. You just have to realize that
you as a general rule can't open an ms-access file with a different program.
So, you can't open a ms-access file with FoxPro, and the reverse is also
true. In fact, you can't use Microsoft word to open a ms-access file either.
So, now, armed with this new knowledge, the next question is how is data
shuffled between some of these applications?
Microsoft was the main promoter and developers of ODBC (Open Data Base
Connectively). This has now become a industry standard, and is in fact now
how we can read data from FoxPro. As long as the product your are looking to
read data from (in this case FoxPro) supports ODBC, then you can read the
data.
So, the problem here is as long as the product you want to read data from
supports ODBC, then you can read it. Thus, ms-access can read data from
Oracle, or even be used with the Open source MySql, or in this case FoxPro.
As long as that product supports the industry standards, then ms-access can
read it.
It is interesting to note that one time ms-access in fact did support
reading of FoxPro files,and you did not have to use ODBC. However, each
year, some new format would come out for FoxPro. Hence, the list of programs
that ms-access had to support was growing every larger and larger, and the
list of formats for EACH product was also growing larger and larger. After a
few more years of this, that drop down list of files for ms-access to
support would grow into the hundreds, if not thousands if something was not
done.
Enter the ODBC solution!!
It was simply easier to tell the FoxPro people to support the ODBC standard,
and then be done!!! This means that the FoxPro people are now free to change
their software and come out with new file formats (just like dbaseII,
daseIII, dbaseIV...etc etc etc etc etc etc etc etc etc.....).
So, now the FoxPro people simply have to update their ODBC system, and
ms-access simply uses that!
So, to use FoxPro files, you simply go to the FoxPro people, and get their
ODBC provider. You then just install this ODBC system on your computer, and
thus then can read FoxPro files. And, if the FoxPro people decide to change
their files...then you just go and get a new ODBC driver from them. What is
really nice about this solution is that you don't even have to upgrade
ms-access to the next great version to get new additional import filters or
compatibility with new versions of these other software packages. So, when a
new great version of FoxPro comes out, you do NOT have to upgrade ms-access
anymore!! A very nice industry solution that Microsoft adopted here.
So, use the FoxPro ODBC driver. I believe a fair recent one is installed by
default with ms-access, but if not, then you can download the latest and
great one from the FoxPro people here:
http://msdn.microsoft.com/vfoxpro/downloads/updates/odbc/default.aspx