APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > foxbase excel delimited ––>Re: foxbase
Printer Friendly Version




News Group Posts

foxbase excel delimited


While Foxbase was not as popular on SCO Unix as was Filepro, I did see a few of these. Here's how to get the data out.

Note the warning in the comments. While generally good advice, it wouldn't matter for this as the file would be text. If nact, you might WANT the LF conversion!


From: Ben Rosenthal <bcrosen@attglobal.net>
Subject: Re: foxbase
References: <001701c19552$97061660$6700000a@venmar.com>
<3c35fda4_3@corp.newsgroups.com> Date: Fri, 04 Jan 2002 21:42:04 GMT SigmaJT wrote: > "Fabio Giannotti" <fabiog@venmar.com> wrote in message > news:001701c19552$97061660$6700000a@venmar.com... > > > Behalf Of SigmaJT > > > Sent: Friday, January 04, 2002 11:50 AM > > > To: distribution@xenitec.on.ca > > > Subject: foxbase > > > > > > > > > This is probably off topic, but Foxbase came with our SCO > > > Unix 5.0.5 so > > > maybe some of you have experience with it. > > > I am trying to get foxbase data into an excel spreadsheet and > > > > I regularly bring foxbase databases into excel with no problem. Just get > > the .dbf on your windows box, and open it in excel. If this isn't working > > there is either a problem with the file or excel. Did you load all of the > > conversion options with excel? How are you getting the file from unix to > > windows? If you are using ftp, did you turn binary on? > > > > Good luck, > > Fabio > > > > There are programs written in foxbase by someone else that regularly access > and modify the .dbf file so I assume the file is good. I transfer the file > using ftp with binary on and excel pops up with a message saying the > database isn't in a recognizable format. It then attempts to import as a > text file but the job it does is nowhere near close to what it should be. > We have about 5000 records with about 30 fields each and excel ends up doing > something simalar to taking all the fields for about 50 records and placing > them in cell A1. Then next 50 to cell A2 and so on >












As suggested earlier, try exporting to a text file.
COPY TO <file> TYPE SDF
Will result in a text file with fixed length records.
COPY TO <file> DELIMITED
Will result in a text file with comma delimited records.
Then import into excel.

Ben Rosenthal


If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments


Tranfer your .dbf via FTP with Binary set.
If your excel cannot recognise the file format then use Access.
In Access you will have to use the get external data menu option that falls under file or data- I dont remember which. just look for it. you should have no problems.
---September 21, 2004





Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - Conversion
       - Foxbase
       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here