Question

Old Foxpro Database files (.inx extension) circa 1995

Asked by: CraigRuss

I've got a very old inventory system that I believe is foxpro based.  I need to convert this data into excel so that I can import it into a new system.  I have the .inx files that contain the data but I haven't been able to find a utility to get that data out and into a usable format - csv, tab delimited, whatever.

Any suggestions on getting this data out of these files and into a usable format?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-05 at 09:13:38ID24628631
Tags

Foxpro

Topics

FoxPro Database

,

Databases Miscellaneous

Participating Experts
5
Points
0
Comments
26

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. foxpro
    How do I import data into my foxpro database ? Say, suppose I have a .txt file and I want to import this txt file into my foxpro database.
  2. FoxPro
    Where download FoxPro
  3. Foxpro to Oracle
    I have a file that might be in Foxpro for Dos. You may check it at: http://www.geocities.com/leoahmad/Q9.zip I want to import this file into oracle. I am using oracle 9i. This file can be opened using Microsoft Excel 2003 but that is not so much exact format that's why i am...
  4. Exporting with header from Foxpro 7.0
    I did an export from foxpro 7.0. The only thing is there are no column headings. How do I do an export in foxpro 7.0 with column headers.

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: tusharkanvindePosted on 2009-08-05 at 09:24:28ID: 25025181

Extension of foxpro files are normally DBF and not INX. INX could be index files. If they are foxpro files,  you can download the VFP ODBC driver from http://msdn.microsoft.com/en-us/vfoxpro/bb190233.aspx and use  that to import the data.

 

by: pcelbaPosted on 2009-08-05 at 09:24:53ID: 25025186

FoxPro does not recognize .inx file (it knows idx, cdx, and also mdx). .inx is used by Adobe InDesign and InstallShield. Could you please upload some small .inx file? You should rename it to .TXT and you may ZIP it.

 

by: pcelbaPosted on 2009-08-05 at 09:47:16ID: 25025379

Some sources list the .inx extension as FoxBase file extension. It could be true for old 8 bit FoxBase only. More probable is IBM's Rational Rose database.

 

by: pcelbaPosted on 2009-08-05 at 09:54:43ID: 25025454

This seems to be a good resource for file extension seekers...
http://file-extension.net/seeker/file_extension_inx

 

by: CraigRussPosted on 2009-08-05 at 10:12:08ID: 25025654

There are foxpro as well as foxbase executables on the old system.  I've attached "recipe.zip" which is a zipped folder with recipe.txt inside.  Rename recipe.txt to recipe.inx and you have what I'm trying to get data out of.

I tried the suggestion of downloading the VFP ODBC driver but it doesn't seem to want to recognize the file.

Thanks

  • RECIPE.zip
    • 2 KB

    In this zipped folder is recipe.txt (renamed from recipe.inx)

 

by: pcelbaPosted on 2009-08-05 at 10:29:02ID: 25025864

This really looks like an index file. It probably contains data from one column of appropriate DBF file. Do you have RECIPE.DBF ?

 

by: CaptainCyrilPosted on 2009-08-05 at 10:38:54ID: 25025981

This does not look like a FoxPro file to me.

Even if it is really a DBF with another extention you can open it in FoxPro using USE recipe.inx but it's not.

 

by: pcelbaPosted on 2009-08-05 at 10:45:00ID: 25026047

No, it is definitely not a data file but index only. It should be possible to extract data for one column from this file which is not what Craig needs.

As I wrote above the .inx file is listed as FoxBase index (and FoxPro somewhere - which is nonsense) on the web.

To retrieve data the DBF file will be necessary.

 

by: CraigRussPosted on 2009-08-05 at 11:26:29ID: 25026507

These are definitely the data files for the application.  It is possible that because I saw foxpro and foxbase installed on the PC that I assumed that it was written in foxpro and it is in fact some proprietary database written by the company that wrote the application.  The application is rst2000 by Oatman & Associates and is circa '95 or '96.

The application is DOS based and I have checked all of the dos batch files that run the app and the only files that are backed up when running the complete data backup are these .inx files.  These files are also the only files that have changed on the PC since the late 90's so they have got to be the data files.  

I'm attempting to bring the old machine back online to make sure there wasn't an additional partition that was missed when the date and applications were copied off.  

It is also possible, though I don't think likely, that these are some type of cobol database; I did find one batch file that referenced some cobol code.

If I do find any other data files, I will post one or more of them here.

Thanks

 

by: CraigRussPosted on 2009-08-05 at 12:01:01ID: 25026849

I just pulled that drive up again and physically verified that there is not an additional missed partition or any missed directories.  The only files that have changed on that entire drive are the inx files that are listed.  There are dbf files under the foxpro directory but they have not changed since the early 1990's.  There are also some files under the foxbase directory, but they also have not changed since the early 1990's.

Any more suggestions?

Thanks

 

by: Olaf_DoschkePosted on 2009-08-05 at 12:32:40ID: 25027158

You still need the DBF to use the INX files. An index does only work with a DBF. What could be possible is, that that old Fox version simply had a bug not updating file dates. The question is not the file data of the DBFs but if they grew larger. I think you can't say so unless you have at least two versions of these folders.

Could it also be Clipper? Couldn't you simply ask http://www.rloatman.com/ directly?

Bye, Olaf.

 

by: CraigRussPosted on 2009-08-05 at 13:00:59ID: 25027467

I went to that website; they are an executive protection outfit in Maryland.  The company that wrote this software was out of Ontario and I've been unable to find any reference to them.  I have verified that the software is written in cobol at least the launching application is "runcobol" and all of the application files have .cob extensions.

The other reason why I'm doubting that the .dbf under the foxpro and foxbase directories are what I'm looking for is that these files are very small; the largest file is only 245kb.   The inx files are a factor of 10 larger.

Is it possible that these are some type of cobol database files?  I have zero experience in cobol.

Thanks,

 

by: pcelbaPosted on 2009-08-05 at 13:23:13ID: 25027715

Olaf,  R.L. Oatman & Associates, Inc., headquartered in Towson, Maryland, since 1989, specializes in risk assessments, executive protection training and executive protection services for the corporate, government and private sectors.

Do you think they started as programmers? Why not.

Craig: You should definitely focus on DBF files. The newer date on .inx files could be caused by reindexing, but the 5 years difference is probabbly too much. If it is inventory system then I would suppose same date for both DBFs and indexes.

I know nothing about FoxBase created in 1984 (I have started on dBase II in 1987) but I am still searching.

The FoxPro is here since 1989. Even FoxBase+ did not use .inx indexes, so your folders marked as FoxPro should not contain them. But I have no idea why you have both foxbase and foxpro folders on your computer. Newer versions maybe?

The last possibility is a different system which we cannot recognize.

 

by: pcelbaPosted on 2009-08-05 at 13:48:37ID: 25027958

The size of .inx files is much larger because they contain many free blocks (you may see the compression ration in the ZIP file). This is obvious when updating data and index contents become fragmented and not properly balanced.

Cobol programmers are either retired or McDonald's employees now :-) Fox programmers still have 10 more years... :-)

Looking at the Cobol specifications, YES it uses .INX indexes, .DAT are data files, and Cobol is a base for IBM's Rational database. So, you should look for .DAT files. If you provide a sample of a .DAT file we could help more.

.COB files are compiled Cobol sources which are stored in .CBL

Some tools are able to convert Cobol data:
http://www.netcobol.com/products/Fujitsu-Data-Converter-for-Windows/overview

This link contains discussion about Cobol data conversions and formats: http://www.tek-tips.com/viewthread.cfm?qid=1508458&page=1

This is also interesting:
http://downloads.microfocus.com/liant/download/pdf/CnvGuide.pdf

 

by: CaptainCyrilPosted on 2009-08-06 at 01:02:35ID: 25030992

At any rate I will give you a solution.

A database files (now called table) back in the old days you could see the data clearly in them. They have a header back at the beginning of the file.

You can cut the header out and import the file in Excel (using fixed width) or by using FoxPro

APPEND FROM <dbffile> TYPE SDF
You need to create a cursor with the fields as defined in the old table

Like this
CREATE CURSOR client (code C(5), name C(50))
APPEND FROM <dbffile> TYPE SDF

 

by: Olaf_DoschkePosted on 2009-08-06 at 08:26:36ID: 25034541

Cyril, if you download Recipe.zip, unzip it and take a look at it, you clearly see, that you don't see clearly the data, it's not DBF format definately, as in a DBF you would have a short header and afterwards the records, each a fixed length, like SDF type, but only equal to SDF if fieldss are all text type or numeric N(x) fields, otherwise you'd have binary data in between, eg int fields in 4 bytes each.

I'd still recommend looking into the dbfs, even though they didn't change regarding theri file date and their size is low.
You'll never know what's inside there, if you don't take a peek. You can search for explanaitions, why file dates never changed later, if the valuable data is in there.

Bye, Olaf.

 

by: tusharkanvindePosted on 2009-08-06 at 09:11:42ID: 25035107

Install and run FileMon from http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx. Then run your application and check which files it opens.

 

by: CraigRussPosted on 2009-08-06 at 10:33:04ID: 25035949

I'm pretty sure that filemon will only work on a windows based machine and this application is running on a DOS machine.

I have verified that these are cobol based files.  There are also no .dat, .dbf files that are located anywhere but in the FoxPro and FoxBase directories which I have verified have nothing to do with this (they are left over from another piece of software that had been running on this machine).

So, I'm fairly certain that the INX files is all I've got to work with.  Any suggestions on how I can read these?

 

by: pcelbaPosted on 2009-08-06 at 11:39:00ID: 25036622

Should we understand your comment as the Cobol application is still ready to run on DOS machine? Does it have some "Data export option"? Does it work in Command window on WXP?

If you cannot use Filemon, the INTRSPY.EXE should work for you. It is described in Schulman's Undocumented DOS book (ISBN 0-201-57064-5) and the program itself is available e.g. here: http://www.woodmann.com/RCE-CD-SITES/Library/+ORC/Orc%20pac%202/  in FILEZ.ZIP (the lagality of above file source is on your own, I am just presenting Google search result)

The book is still available among used books but no info about included diskette exists (maine is 5 1/4" :-).

I also cannot avoid the possibility of standalone INX files. To read them is easy BUT to understand is not so easy... You may look at them using e.g. Notepad but some Hex editor is better and you'll see following:

They seems to be organized in 512 B blocks (typical for indexes). Block markers are FCFF, FDFF, FEFF. Some values look like data BUT their meaning is not clear.  Some values look like pointers inside the file BUT they obviously points to empty blocks...

This will be long way with 15 years old inventory at the end.

 

by: CraigRussPosted on 2009-08-06 at 11:47:46ID: 25036732

yes, the cobol application is currently running on a dos machine and is still used.  that machine is about 14 years old and we are moving to an inventory system that came with our SQL based accounting system.  We were hoping to export the part #'s from the old inventory system so that we would not have to re-key those values in.  We are actually not concerned about the actual inventory data, just the part #'s.

I've managed to find a former cobol programmer who is going to take a quick look and give me an estimate of what it would cost for him to export the data to a flat file format that I can then manipulate with excel or similar.  Once I'm there it will be a simple process (relatively speaking) to import the data that I need into SQL.

Thanks

 

by: pcelbaPosted on 2009-08-06 at 12:18:38ID: 25037095

Perfect! The Cobol programmer could help. Please ask him for details about files used in Cobol it could be useful for others also. I am interested if data are stored just in INX files or if it uses DAT files also. Thanks.

 

by: CraigRussPosted on 2009-08-30 at 15:54:23ID: 25219750

Cobol programmer indicated that it would not be cost effective to convert the data into a readable format.

 

by: pcelbaPosted on 2009-08-31 at 05:50:39ID: 25222321

I think CraigRuss (author) answered the question but the discussion should not be deleted.

 

by: ee_autoPosted on 2009-09-10 at 01:17:29ID: 25298197

Question PAQ'd, 250 points refunded, and stored in the solution database.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...