Export memo field from DbaseIV

Posted on 2001-06-22
Medium Priority
Last Modified: 2009-12-16
I want to export data from DbaseIV into EpiInfo. I am having problems with the memo fields. Also, when I open the dbase file in Excel the memo field disappears. I have no experience of Dbase so I'm not sure if this is a common problem.
Yours Doobs
p.s. EpiInfo is database software package used to collect data on diseases. It is often used for this as it is free and robust.
Question by:Doobs
  • 3

Expert Comment

ID: 6223716
If you want to open it in Excell you have to write a select statement with comma seperated output which you direct to a file. Of course the problem with memofields is that it can contain just about any character so you may have to think of a better seperator than a comma.

It's been a while since I used dbase but I know it must be possible....


Accepted Solution

payperpage earned 400 total points
ID: 6226913
It depends what has been put into the memo fields, buy you will probably need to use Foxpro to write a quick export program - the export program would scan through the tables, turning the memo field(s) of each record into individual files on disk, one file per memo field per record.  You can name the files based on the primary key of the record they are attached to.

Then when you are ready to import the objects from the memo fields into the new database write an import routine to scan the table, find the relevant text file for each record, and import the object from the text file.

It is a while since I have used foxpro (5 years) but getting memo fields in and out was always an issue back then.

Expert Comment

ID: 6226958
Sorry, when I said Foxpro, the same applies to DBase I think, they are pretty much the same as Foxpro was originally a dbase clone.

Expert Comment

ID: 6226964
One other idea of what the problem might be - I think that the contents of the memo fields may not be stored in the .dbf file itself, but in some other, separate file with an extension like .mbf.  Do you have these files too?

Author Comment

ID: 6237298
Thanks a lot

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
I recently worked on a Wordpress site that utilized the popular ContactForm7 (https://contactform7.com/) plug-in that only sends an email and does not save data. The client wanted the data saved to a custom CRM database. This is my solution.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

627 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