By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,665 Members | 1,478 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,665 IT Pros & Developers. It's quick & easy.

Convert DBF file to text file.

P: n/a
I need to convert DBF file to a pipe delmited text file. Can somebody
guide me with a sample C program that does this kind of conversion.

Thanks,
Abhi.
Nov 14 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
abid <ab******@yahoo.com> spoke thus:
I need to convert DBF file to a pipe delmited text file. Can somebody
guide me with a sample C program that does this kind of conversion.


(Unlikely here, but read on...)

http://www.csclub.uwaterloo.ca/u/dj3...lc-welcome.txt
http://www.eskimo.com/~scs/C-faq/top.html
http://benpfaff.org/writings/clc/off-topic.html

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Nov 14 '05 #2

P: n/a
abid wrote:

I need to convert DBF file to a pipe delmited text file. Can somebody
guide me with a sample C program that does this kind of conversion.


Define DBF. Define pipe. Define delmited. Or point to the
places in the C standard that do so. Has it got something to do
with deleting mites that crawl through a lead pipe?

--
Chuck F (cb********@yahoo.com) (cb********@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
Nov 14 '05 #3

P: n/a
abid wrote:

I need to convert DBF file to a pipe delmited text file. Can somebody
guide me with a sample C program that does this kind of conversion.

As in Informix? Why do this in C? You can easily do it in FoxPro, dBASE,
Clipper or whatever you used to make the .dbf files. If you don't have
xBASE tools and you really have to read the .dbf blind and make a pipe
delimited text file of it, you have a non trivial task at hand.

Faced with this situation some time ago, I identified the files of
interest to be .dbf, .txt, .sdf, .pip and wrote a suite of C programs to
convert one to another: d2p, p2d, d2t, d2s, etc. If you have some
commercial interest in these conversions I might be hired to do it for
you. If you just want to pick my brain, ask specific questions.
--
Joe Wright http://www.jw-wright.com
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
Nov 14 '05 #4

P: n/a
abid wrote:
I need to convert DBF file to a pipe delmited text file. Can somebody
guide me with a sample C program that does this kind of conversion.

Thanks,
Abhi.


http://www.wotsit.org
--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Nov 14 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.