Page 1 of 1

Read and Write .DBF

Posted: Wed Jan 18, 2012 5:30 pm
by PrietoM
Is there an easy way to Read and Write DBF files?
I need to read a .csv file and write to several .DBF files.

I searched the forum and did not find anything.

Thanks.

Re: Read and Write .DBF

Posted: Wed Jan 18, 2012 6:24 pm
by infratec

Re: Read and Write .DBF

Posted: Wed Jan 18, 2012 6:26 pm
by c4s
You probably have to do it yourself. But you can find CSV codes on here and the DBF file format doesn't look that hard:
http://www.dbase.com/KnowledgeBase/int/db7_file_fmt.htm

Edit:
Oh well, maybe cheetah will do it as well. Don't know about that.

Re: Read and Write .DBF

Posted: Wed Jan 18, 2012 9:24 pm
by Pureabc
For XBASE application, you can also use cheetah.dll

The cheetah4 open source package with source codes is at:

Code: Select all

http://sourceforge.net/projects/cheetahdatabase/files/latest/download?source=files

The working PureBasic wrapper with cheetah4.dll is at:

Code: Select all

http://sourceforge.net/tracker/download.php?group_id=162601&atid=824432&file_id=422328&aid=3400191

Re: Read and Write .DBF

Posted: Thu Jan 19, 2012 6:28 am
by PrietoM
I searched using the forum search feature and did not find anything. I then used Googles search and found a bunch of posts in this forum.

Thanks I will take a look at the cheetah db!!!