Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Export PFS:FILE format to dbase format

Posted on 1998-04-15
2
Medium Priority
?
817 Views
Last Modified: 2013-11-24
I'm trying to export a file in Pfs:file format to dbase format but only takes first 180 fields using dbase IV IMPORT command. How I Can get all fields (about 500)?
0
Comment
Question by:juanca
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
cymbolic earned 200 total points
ID: 1026270
There is an excellent tool for working with .dbf files available on AOL and on the net (look for File Pile), known as DBFLOOK.  With registration comes a set of tools containing an import and export programs for creating .dbf files.  DBFLOOK itself can be used to make a fixed record length extract file become a .dbf by prefixing a dbf header to the file.  It will also create a header to be used as well, allowing you to specify field names, sizes and types. If you can extract the pfs file to a fixed length record format, I can help you use this tool to convert it into a .dbf.

I've worked extensively with the .dbf format in enterprise level applications with hundreds of .dbf files involved.
email me at cymbolic@aol.com if you need more help, or to send a sample file for conversion.
0
 

Expert Comment

by:rbfine
ID: 1026271
If you haven't found an answer, here's what I do:

1. Export the file in fixed length format, if possible.  All the fields at once.  This is also known as an 'SDF' file.

2. Create a dbase structure with fields in it like 'Field1, character 200', 'Field2 Character 200', etc.  You can create up to 254 of them if you need to.  Oops, dBase IV allows more.

3. Append from the SDF file you exported before by using the APPEND FROM ... SDF command.

4. You can then split the fields as necessary, either programmatically or with console commands.  If you pick the field lengths in the 2nd step smartly, you'll have a much easier task of it.

rbfine@finesoft.com

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question