Writing to DBF

Hey Gang,
I am attempting to write to a DBF, Visual FoxPro specifically, in
support of a legacy application.

We are using the dbf gem with great success in reading, but need

to write back to the dbf.

Anyone have experience with this?

~)o
gustin
entryway software development
http://www.entryway.net

gustin wrote:

Hey Gang,
I am attempting to write to a DBF, Visual FoxPro specifically, in
support of a legacy application.

We are using the dbf gem with great success in reading, but need

to write back to the dbf.

Anyone have experience with this?

Hi Gustin

I just posted on my blog about reading from DBF but unfortunately
haven’t yet needed to write to one. I hope you’ll post back if you
manage to?

By the way, if you look at the project’s home page @ RubyForge [
http://rubyforge.org/projects/dbf/] it says:

DBF is a small fast library for reading dBase, xBase, Clipper and
FoxPro database files. It is written completely in Ruby and has no
external dependencies.

There’s no mention of writing!

Cheers,
Mohit. [Blog - http://notepad.onghu.com ]
8/11/2008 | 2:17 PM.

gustin wrote:

Hey Gang,
I am attempting to write to a DBF, Visual FoxPro specifically, in
support of a legacy application.

We are using the dbf gem with great success in reading, but need

to write back to the dbf.

Anyone have experience with this?

~)o
gustin
entryway software development
http://www.entryway.net

Hi, gustin.

Not sure if you still need it - but here is a write up on my blog about
how to read/write to dbf files - i just ran into the same problem myself
and was looking for info - so once I found a solution I thought it might
help you.

http://www.gorbikoff.com/2009/02/03/how-to-read-and-write-to-dbf-database-file-from-ruby/

Nick.