[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Writing to DBF

gustin

8/6/2008 6:14:00 AM

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.en...

2 Answers

Mohit Sindhwani

8/11/2008 6:18:00 AM

0

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/pro...] 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... ]
8/11/2008 | 2:17 PM.


Nick da G

2/5/2009 12:25:00 AM

0

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.en...

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-...

Nick.
--
Posted via http://www.ruby-....