Smart questions
Smart answers
Smart people
Join Tek-Tips Forums
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

elmerfuddd (Programmer) (OP)
7 Oct 10 2:56
Is there any place where I can find a listing of dBase III commands?

I have some data that I want to convert to a format compatible with Excel, but no longer have the necessary commands.

Trial and error will probably result in just as many errors as trials, and my memory after 25 years is not too good.

Thanks

Helpful Member!  dbMark (Programmer)
14 Oct 10 11:35
The simplest format to create is a CSV file... Comma Separated Values... I'm not sure if that is in old dBase, but I think it should be.  If not, then try specifify delimited

HisName,HisStreet,HisCity,HisState,HisZip
HerName,HerStreet,HerCity,HerState,HerZip

I would hope this might work:

CODE

USE myDBF
COPY TO MyFile.TXT FIELDS <fieldlist> FOR <scope> TYPE CSV
USE
You're right, it's been 20+ years. Perhaps the Help should be enough if you research "COPY TO".
Nifrabar (Programmer)
10 Nov 10 7:37
you also might try to open the file in vfp and export than to typ xl5
-bart
fishmahn (MIS)
28 Dec 10 17:15
elmerfuddd,

In dBase III(+), type Help.  That pulls up the help system menu.  Also "Help copy" givest the syntax of the copy command.

For your request, it will be:

copy to <filename> delimited

That will create a comma-separated file that Excel can read.

Also, Excel can read old dbf's directly (level 7 databases are not readable).  In Excel Go to File/Open and in the dropdown of file types select one of the dbase formats.

Mike.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close